summaryrefslogtreecommitdiffstats
path: root/src/cmd/lex/lmain.c
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-04-21 05:56:24 +0000
committerwkj <devnull@localhost>2004-04-21 05:56:24 +0000
commit2c7cc0faaf79742d021f72e103b4d828a581df4e (patch)
tree34178b948386d83d7a0d61f681f2036640267ff0 /src/cmd/lex/lmain.c
parent7ac9b0e140bed0b34dc88674b3098caa5e193acf (diff)
downloadplan9port-2c7cc0faaf79742d021f72e103b4d828a581df4e.tar.gz
plan9port-2c7cc0faaf79742d021f72e103b4d828a581df4e.zip
Document recent changes.
Make lex really compile in rsc's world.
Diffstat (limited to 'src/cmd/lex/lmain.c')
-rw-r--r--src/cmd/lex/lmain.c4
1 files changed, 3 insertions, 1 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;