]> granicus.if.org Git - re2c/commitdiff
- Mark TODO
authorhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 21 Jan 2008 07:36:22 +0000 (07:36 +0000)
committerhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Mon, 21 Jan 2008 07:36:22 +0000 (07:36 +0000)
re2c/code.cc

index 01306b0ba2c69168780d664524262984d25c8bec..0e2b78de626da2c3aceea003309e5a5feb360e19 100644 (file)
@@ -679,6 +679,8 @@ void Rule::emit(std::ostream &o, uint ind, bool &) const
 
        if (rule->code->newcond && rule->code->condchange)
        {
+               // TODO: rather than using condchange we can do this by comparing the
+               // sourcecondition with the destination condition.
                genSetCondition(o, ind, rule->code->newcond->to_string());
        }