• Ian Lance Taylor's avatar
    test: Match gccgo error messages. · c30b5704
    Ian Lance Taylor authored
    With the recursive descent parser that gccgo uses, I think
    that it doesn't make sense to try to match a statement where a
    statement is not expected.  If the construct is not a
    statement, you will just get bizarre error messages.
    
    topexpr.go:9:1: error: expected declaration
    topexpr.go:14:1: error: expected declaration
    topexpr.go:19:1: error: expected declaration
    
    R=rsc, r2
    CC=golang-dev
    https://golang.org/cl/2175041
    c30b5704
Name
Last commit
Last update
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...
README Loading commit data...
favicon.ico Loading commit data...