On 3/23/11 4:37 PM, "Kevin J. Cummings" <[email protected]> wrote:

>>> You can do it the same way in v3, but when you generate the code, ANTLR
>>> will make up token names and you won't be able to write a good error
>>> display routine/handler because you won't know the tokens. You will just
>>> have T23 or something like that, and then you can't do anything
>>> interesting. So, you don't HAVE to, but it is neater when you come to do
>>> certain things.
>> 
>> Aha, I see.
>> Yes we have see that T23 a lots in generated code ..
>> 
>> 
>> Interesting ... In v2 names of tokens was shown correctly
>> Right?
> 
> IIRC, the names of tokens literals in V2 had a "Literal_" prefix in
> their names....

Yes, in C++ code ... Yes

But in the error messages was quite correct names of tokens ... It seems
For example 
        expected "from"



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]



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