[antlr-interest] [ANTLRWorks 1.4][Code Generation] [C target] Bug??
amr.muhammad.w at gmail.com
Wed Dec 1 07:32:51 PST 2010
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*)*
version2.2 ---- rule1: ( (rule2 (a+ b* | b* a+) )* ** (rule2 a*)*)*
then remove the change (i.e. return to rule version1 above)
i'd would find sometimes that the call for cdfa9.predict(...) disappears.
Thank you for your time :)
Cairo Univ. Computer Eng. Grad.
More information about the antlr-interest