diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/lex/lmain.c | 4 | ||||
-rw-r--r-- | src/cmd/lex/mkfile | 3 | ||||
-rw-r--r-- | src/cmd/mkfile | 2 |
3 files changed, 5 insertions, 4 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\ diff --git a/src/cmd/mkfile b/src/cmd/mkfile index 350769ef..477ca474 100644 --- a/src/cmd/mkfile +++ b/src/cmd/mkfile @@ -6,7 +6,7 @@ SHORTLIB=sec fs mux regexp9 draw thread bio 9 <$PLAN9/src/mkmany -BUGGERED='CVS|faces|factotum|mailfs|mk|upas|vac|venti|lex' +BUGGERED='CVS|faces|factotum|mailfs|mk|upas|vac|venti' DIRS=`ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"` <$PLAN9/src/mkdirs |