I have to go out for about 90 minutes, so if I don't answer, I'm not
ignoring anyone.  I'm appreciating all the help I'm getting. Thanks.

 

 

From: Tom Nurkkala [mailto:[email protected]] 
Sent: Tuesday, July 14, 2009 15:09
To: Bryan S Follins
Cc: [email protected]
Subject: Re: [antlr-interest] Simple code with a simple problem

 

 

On Tue/14-Jul, at 5:00 PM, Bryan S Follins wrote:





Found my generation error.  I was using () instead of {} for the java code.
Generation is good. However, it still does not debug the code. 

 

When I run the debugger I get: "Compiler failed with result code 1."   Does
anyone know that means?

 

 

I copied your grammar into ANTLRWorks and changed both actions to use curly
braces instead of parens.  Under the interpreter, I parsed "call foo;"
against rule 'r' and it worked fine.  The parse tree follows.

 

tom.

 



 

--

Tom Nurkkala, PhD

Associate Professor

Computer Science & Engineering

Taylor University

[email protected]

 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

<<inline: image001.png>>

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

Reply via email to