diff options
author | ragge <ragge> | 2010-04-20 11:20:20 +0000 |
---|---|---|
committer | ragge <ragge> | 2010-04-20 11:20:20 +0000 |
commit | 609c1660a3a4f087ade0910ab40889d36be1c420 (patch) | |
tree | 1a756c73a203ce2191e847563b2a6d606ae4d6f9 | |
parent | f80f6bd52cbd0e57206c489bbafc55184b4d9747 (diff) |
Forgot to null-terminate yytext. Bug pointed out by Iain Hibbert.
-rw-r--r-- | token.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -401,6 +401,7 @@ chlit: if (Cflag && !flslvl && readmac) { unch(ch); + yytext[yyp] = 0; return CMNT; } |