public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd5fb7e
)
bug fixed: null-pointer dereference.
author
bal
<none@none>
Tue, 13 Aug 1985 14:03:23 +0000
(14:03 +0000)
committer
bal
<none@none>
Tue, 13 Aug 1985 14:03:23 +0000
(14:03 +0000)
lang/basic/src.old/basic.lex
patch
|
blob
|
history
diff --git
a/lang/basic/src.old/basic.lex
b/lang/basic/src.old/basic.lex
index
69b9568
..
526b37c
100644
(file)
--- a/
lang/basic/src.old/basic.lex
+++ b/
lang/basic/src.old/basic.lex
@@
-232,7
+232,7
@@
lookup()
for(c=cptr; *c && isalnum(*c);c++)
if( isupper(*c) )
*c= tolower((*c));
- for(k= keywords+kex[*cptr-'a']; *(k->name)== *cptr;k++)
+ for(k= keywords+kex[*cptr-'a'];
k->name != 0 &&
*(k->name)== *cptr;k++)
if( strncmp(cptr,k->name,k->length)==0)
{
/* check functions first*/