Update to gobook@4fdc3c0a831c14c716c2c013e42268f6d21a9a13
Change-Id: I63623453205b84eba5680e27f68e81e99e7bbeb9
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ func parsePrimary(lex *lexer) Expr {
|
||||
lex.next() // consume ','
|
||||
}
|
||||
if lex.token != ')' {
|
||||
msg := fmt.Sprintf("got %s, want ')'", lex.token)
|
||||
msg := fmt.Sprintf("got %q, want ')'", lex.token)
|
||||
panic(lexPanic(msg))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user