]> Cypherpunks repositories - gostls13.git/commit
cmd/cc: fix lexbody for negative chars
authorRuss Cox <rsc@golang.org>
Mon, 10 Jun 2013 20:13:25 +0000 (16:13 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 10 Jun 2013 20:13:25 +0000 (16:13 -0400)
commit5b15b4443491d2405c494857819341186bb760ba
tree21d6e5c3994e0041312dd5bf49846b1ea4a9c04a
parent35e1deaebf1b765f20e1692581804a3bf49d95fa
cmd/cc: fix lexbody for negative chars

The new code matches the code in cc/lex.c and the #define GETC.
This was causing problems scanning runtime·foo if the leading
· byte was returned by the buffer fill.

R=ken2
CC=golang-dev
https://golang.org/cl/10167043
src/cmd/cc/lexbody