Hi,

I have a strange behavior with the FOLLOW sets that are generated by antlr.
I have following rule:

variableSyntax
: storageClass* typeModifier* ident ident
 ;

storageClass
: 'extern' | 'nointerpolation' | 'precise' | 'shared' | 'groupshared' |
'static' | 'uniform' | 'volatile'
 ;
typeModifier
: 'const' | 'row_major' | 'column_major'
 ;

ident
        : Identifier
        ;


In this case antlr generate code where FOLLOW_storageClass_in_variableSyntax
and FOLLOW_typeModifier_in_variableSyntax are the same.
Why can this happen? Is it concerning the syntax of the grammar or just
internal implementation of the library?

Best regards,
Andrey



-- 
С уважением,
Десятов Андрей

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