diff options
author | wkj <devnull@localhost> | 2004-04-21 05:56:24 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-04-21 05:56:24 +0000 |
commit | 2c7cc0faaf79742d021f72e103b4d828a581df4e (patch) | |
tree | 34178b948386d83d7a0d61f681f2036640267ff0 /src/cmd/lex | |
parent | 7ac9b0e140bed0b34dc88674b3098caa5e193acf (diff) | |
download | plan9port-2c7cc0faaf79742d021f72e103b4d828a581df4e.tar.gz plan9port-2c7cc0faaf79742d021f72e103b4d828a581df4e.tar.bz2 plan9port-2c7cc0faaf79742d021f72e103b4d828a581df4e.zip |
Document recent changes.
Make lex really compile in rsc's world.
Diffstat (limited to 'src/cmd/lex')
-rw-r--r-- | src/cmd/lex/lmain.c | 4 | ||||
-rw-r--r-- | src/cmd/lex/mkfile | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/cmd/lex/lmain.c b/src/cmd/lex/lmain.c index ec43869a..a98978c6 100644 --- a/src/cmd/lex/lmain.c +++ b/src/cmd/lex/lmain.c @@ -14,7 +14,7 @@ int peek = '\n'; /* next input character */ uchar *pushptr = pushc; uchar *slptr = slist; -char *cname = SYS9 "/sys/lib/lex/ncform"; +char *cname; int nine; int ccount = 1; @@ -95,6 +95,8 @@ main(int argc, char **argv) { int i; + cname = unsharp("#9/lib/lex/ncform"); + ARGBEGIN { # ifdef DEBUG case 'd': debug++; break; diff --git a/src/cmd/lex/mkfile b/src/cmd/lex/mkfile index a748409f..ffcf875d 100644 --- a/src/cmd/lex/mkfile +++ b/src/cmd/lex/mkfile @@ -1,7 +1,6 @@ <$PLAN9/src/mkhdr -#TARG=lex -TARG=lex.9 +TARG=9lex OFILES=lmain.$O\ y.tab.$O\ sub1.$O\ |