You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yacc accepts:
%token X
but that makes X an exported name, often inappropriate. Using a purely lower-case name
breaks a common yacc style convention: upper case for tokens, lower case for
productions. An attempt to satisfy both constraints with:
%token _X
produces a syntax error - apparently Go's yacc does not allow term names beginning with
(containing?) underscore.
Should change yacc to allow underscore in term names.