[antlr-interest] Dates and Lexical Non-Determinism
Matthew.Ford at forward.com.au
Wed Mar 26 19:20:23 PST 2003
In the Lexer I used
then in the parser I used getText() and sorted out the internal form to
store the date.
: DIGIT DIGIT DIGIT DIGIT '/'
DIGIT (DIGIT)? '/' DIGIT (DIGIT)?
----- Original Message -----
From: "madison_stjames" <madison_stjames at yahoo.com>
To: <antlr-interest at yahoogroups.com>
Sent: Thursday, March 27, 2003 1:20 PM
Subject: [antlr-interest] Dates and Lexical Non-Determinism
> I getting a lexical non-determinism error while trying to parse a
> date in the form 2003-03-22. Looking at my expression, I can see
> what is causing the problem. I am unsure, however how to fix it
> (being an ANTLR newbie).
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest