Changing the quotes on the println statement worked.  Thanks a bunch Tom.

 

Bryan

 

 

 

From: Tom Nurkkala [mailto:tnurkk...@cse.taylor.edu] 
Sent: Tuesday, July 14, 2009 16:00
To: Bryan S Follins
Cc: antlr-inter...@antlr.org
Subject: Re: [antlr-interest] Simple code with a simple problem

 

 

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





Tom,

I tried that,  I went to Debug.  As a matter of fact I tried highlighting
both the "text" and "file" radio buttons while using start rule "r" and it
gave me an error "Compiler failed with result code 1."

 

You need to change the quotes in the println statement to be double, rather
than single, quotes (per Java).

 

Also, it looks like the "space" alternative in your WS rule has two spaces
between the quotes.  You probably only want one.

 

tom.

 


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

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