Hi Jamie, i'm looking at this to see if there is a bug i can fix for 3.3.  So 
antlr silently accepted the first snippet even though it couldn't produce a DFA?
Ter
On Apr 1, 2010, at 10:19 AM, James Briant wrote:

> Once I managed to get ANTLR to give me the error message, the problem was
> easy to solve. I had these two lines:
> 
> |   ^(IF parenthesizedExpression statement statement)
> |   ^(IF parenthesizedExpression statement)
> 
> And I just changed it to:
> 
> |   ^(IF parenthesizedExpression statement statement?)
> 
> And now it works fine.
> 
> So the problem was definitely an exception in the DFA constructor that was
> then caught, but ignored, with no warning or error. Once I forced it to
> report the error, I could fix it.
> 
> Jamie
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: 
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to