[antlr-interest] [ANTLRWorks 1.4][Code Generation] [C target] Bug??
Amr Muhammad
amr.muhammad.w at gmail.com
Wed Dec 1 07:32:51 PST 2010
Hello,
I have a rule like this:
version1 --- rule1: (rule2 (a+ b* | b* a+) )* (rule2 a*)*
sometimes i would generate the code and in the code for the func
corresponding to rule1:
i would have a call like: cdfa9.predict(...)
then let's say i modify the rule to
version2.1 ---- rule1: (rule2 (a+ b* | b* a+) )* *|* (rule2 a*)*
or to
version2.2 ---- rule1: ( (rule2 (a+ b* | b* a+) )* ** (rule2 a*)*)*
then generate
then remove the change (i.e. return to rule version1 above)
then generate,
i'd would find sometimes that the call for cdfa9.predict(...) disappears.
Thank you for your time :)
Amr Muhammad
Cairo Univ. Computer Eng. Grad.
twitter:@amrmuhammad <http://twitter.com/amrmuhammad>
More information about the antlr-interest
mailing list