Hi everybody;

Having this lexer rules, parsing the input doesn't recognize 'integer'
as a type, only recognize types vector of integer as a token like
integer[] or integet[][][].

CORCHE_CIERE:']';

CORCHE_ABRE: '[';

fragment ENTERO_T: 'integer';

ENTERO_V: ENTERO_T(CORCHE_ABRE CORCHE_CIERE)*;

Am i missing something; I did try without fragment, and the same result.

Thx for any help,


-- 
Marouane

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

Reply via email to