Changeset 3998


Ignore:
Timestamp:
Aug 12, 2014, 7:18:48 PM (5 years ago)
Author:
cameron
Message:

Preserve negated attribute

Location:
icGREP/icgrep-devel/icgrep
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re_reducer.cpp

    r3955 r3998  
    6969        Name* name = new Name(re_name->getName());
    7070        name->setType(re_name->getType());
     71        name->setNegated(re_name->isNegated());   // TODO:  Hide this in the re_name module.
    7172        retVal = name;
    7273    }
  • icGREP/icgrep-devel/icgrep/re_simplifier.cpp

    r3955 r3998  
    3737        Name* name = new Name(re_name->getName());
    3838        name->setType(re_name->getType());
     39        name->setNegated(re_name->isNegated());   // TODO:  Hide this in the re_name module.
    3940        retVal = name;
    4041    }
  • icGREP/icgrep-devel/icgrep/utf8_encoder.cpp

    r3961 r3998  
    7676        Name* name = new Name(re_name->getName());
    7777        name->setType(re_name->getType());
     78        name->setNegated(re_name->isNegated());   // TODO:  Hide this in the re_name module.
    7879        retVal = name;
    7980    }
Note: See TracChangeset for help on using the changeset viewer.