- Better setup for --experimental= switch using bit masks.

This commit is contained in:
ccremers 2006-02-22 08:55:42 +00:00
parent 10b6793d97
commit dbc0a3583d
2 changed files with 2 additions and 2 deletions

View File

@ -801,7 +801,7 @@ bindings_c_minimal ()
{ {
List bl; List bl;
if (switches.experimental == 1) if (switches.experimental & 1 > 0)
{ {
if (unique_origination () == 0) if (unique_origination () == 0)
{ {

View File

@ -262,7 +262,7 @@ prune_theorems (const System sys)
* if (switches.match < 2 * if (switches.match < 2
*!@TODO Doesn't work yet as desired for Tickets. Prove lemma first. *!@TODO Doesn't work yet as desired for Tickets. Prove lemma first.
*/ */
if (switches.experimental) if (switches.experimental & 2 > 0)
{ {
if (!hasTicketSubterm (b->term)) if (!hasTicketSubterm (b->term))
{ {