aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-03-20 02:25:59 +0000
committerrsc <devnull@localhost>2006-03-20 02:25:59 +0000
commit17157e4aa85baea6c1503e2c95d98ed66a1596f1 (patch)
tree0d5170a9f88cb8f25e2d824d0b96f57b968d426a /src/cmd/rc
parent7bd7fd2f4f6fb39400f6f64feb7ec9cba89cf3a3 (diff)
downloadplan9port-17157e4aa85baea6c1503e2c95d98ed66a1596f1.tar.gz
plan9port-17157e4aa85baea6c1503e2c95d98ed66a1596f1.tar.bz2
plan9port-17157e4aa85baea6c1503e2c95d98ed66a1596f1.zip
update lucida
Diffstat (limited to 'src/cmd/rc')
-rw-r--r--src/cmd/rc/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/rc/lex.c b/src/cmd/rc/lex.c
index 798ffe87..b0e27eb3 100644
--- a/src/cmd/rc/lex.c
+++ b/src/cmd/rc/lex.c
@@ -113,7 +113,7 @@ int nextis(int c){
}
char *addtok(char *p, int val){
if(p==0) return 0;
- if(p==&tok[NTOK]){
+ if(p==&tok[NTOK-1]){
*p=0;
yyerror("token buffer too short");
return 0;