[antlr-interest] Newbie question, 3.2 Using Syntax to Drive Action Execution

Gordon Tyler Gordon.Tyler at quest.com
Mon Apr 26 06:49:49 PDT 2010


Your first System.out.println is followed by a curly brace, not a left parenthesis.

-----Original Message-----
From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Mark Atherton
Sent: April 26, 2010 3:53 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Newbie question, 3.2 Using Syntax to Drive Action Execution

Hi All,

I am making my way through "The definitive ANTLR reference" and have 
managed to get stuck on page 55. I have got through "Testing the 
Recognizer" without any problems, but adding the changes through page 
55 results in System.out.println not being recognized. Code is at 
http://www.idesignz.org/Antlr/expr.g I have been around the houses 
several times now and need a second pair of eyes to take a look. What 
am I doing that's daft ?

Thanks, Mark


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


More information about the antlr-interest mailing list