Gabriel Petrovay wrote:
Hi all!

How can I specify the lexer base class in a combined grammar?
You can't. You need to use separate parser and lexer grammars, which you will find easier anyway if you need to override the base class.

How can I import two token vocabulary files in one lexer grammar?
You can't.

How can I import 3 token vocabulary files (tokenVocab=...) in my main parser grammar file?
You can''t.

Those last two questions imply that you are thinking about some problem in perhaps the wrong way. What is it that you are trying to do?

Jim

--
MSc Gabriel Petrovay
MCSA, MCDBA, MCAD
Mobile: +41(0)787978034

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



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