]> Cypherpunks repositories - gostls13.git/commit
8a: fixes for Plan 9 build
authorLucio De Re <lucio.dere@gmail.com>
Mon, 27 Jun 2011 18:42:18 +0000 (14:42 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 27 Jun 2011 18:42:18 +0000 (14:42 -0400)
commit6bcfb95168d6f978f9eacb58539bbca2a0f047ef
tree5220192bb3f07a2e1842eaa97f0d9fddb25e1447
parent10d0dffd7672ee27a5a1ed3451d9d9aa547075da
8a: fixes for Plan 9 build

8a/a.h:
. Removed <u.h> and <libc.h> includes as they work better in "a.y".
. Made definition of EOF conditional as it's defined in the Plan 9
  header files, but not elsewhere.

8a/a.y:
. Added <u.h> and <libc.h> because <stdio.h> in Plan 9 needs them.
  Sequence <u.h>, <stdio.h>, <libc.h> recommended by RSC.

8a/lex.c:
. Added <u.h> and <libc.h> as now needed by "a.h".
. Dropped <ctype.h>.

cc/lexbody:
. exit() -> exits().
. Dropped unwanted incrementation.

cc/macbody:
. Adjusted a few format specifications.

R=rsc
CC=golang-dev
https://golang.org/cl/4644047
src/cmd/8a/a.h
src/cmd/8a/a.y
src/cmd/8a/lex.c
src/cmd/cc/lexbody
src/cmd/cc/macbody