From: Russ Cox Date: Wed, 25 Mar 2009 01:04:19 +0000 (-0700) Subject: make 8a, 8c build again. X-Git-Tag: weekly.2009-11-06~1969 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=58f7fc331f4e4fe62370a4bedfaeebf45d8b3d2b;p=gostls13.git make 8a, 8c build again. add 8a 8c 8l to the build to keep us honest. R=r DELTA=33 (28 added, 0 deleted, 5 changed) OCL=26694 CL=26711 --- diff --git a/src/cmd/8a/lex.c b/src/cmd/8a/lex.c index 139ab0a328..d4c61af07d 100644 --- a/src/cmd/8a/lex.c +++ b/src/cmd/8a/lex.c @@ -33,11 +33,30 @@ #include "y.tab.h" #include +enum +{ + Plan9 = 1<<0, + Unix = 1<<1, + Windows = 1<<2, +}; + +int +systemtype(int sys) +{ + return sys&Plan9; +} + +int +pathchar(void) +{ + return '/'; +} + void main(int argc, char *argv[]) { char *p; - int nout, nproc, status, i, c; + int nout, nproc, i, c; thechar = '8'; thestring = "386"; @@ -162,7 +181,7 @@ assemble(char *file) pass = 1; pinit(file); - + Bprint(&obuf, "%s\n", thestring); for(i=0; i