• Robert Griesemer's avatar
    go/scanner: minimal non-terminated literals · 11740e19
    Robert Griesemer authored
    Consume as little as possible input when encountering
    non-terminated rune, string, and raw string literals.
    The old code consumed at least one extra character
    which could lead to worse error recovery when parsing
    erroneous sources.
    
    Also made error messages in those cases more consistent.
    
    Fixes #7091.
    
    R=adonovan
    CC=golang-codereviews
    https://golang.org/cl/50630043
    11740e19
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...