• Ian Lance Taylor's avatar
    cmd/yacc: fix handling of tokens that don't start with letters · fe2bc11e
    Ian Lance Taylor authored
    CL 149110043 changed yacc to no longer keep a leading space
    for quoted tokens.  That is OK by itself but unfortunately
    yacc was relying on that leading space to notice which tokens
    it should not output as const declarations.
    
    Add a few such tokens to expr.y, although it won't make any
    immediate difference as we seem to have no tests for yacc.
    
    LGTM=rsc
    R=golang-codereviews, rsc
    CC=golang-codereviews
    https://golang.org/cl/152720043
    fe2bc11e
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...