From: helly Date: Mon, 21 Jan 2008 07:36:22 +0000 (+0000) Subject: - Mark TODO X-Git-Tag: 0.13.6~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd8ba52ffad802814cf43c046606b57abf4f9e06;p=re2c - Mark TODO --- diff --git a/re2c/code.cc b/re2c/code.cc index 01306b0b..0e2b78de 100644 --- a/re2c/code.cc +++ b/re2c/code.cc @@ -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()); }