public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a12c0
)
Improved error handling on unterminated strings
author
sater
<none@none>
Wed, 18 Jul 1984 11:04:58 +0000
(11:04 +0000)
committer
sater
<none@none>
Wed, 18 Jul 1984 11:04:58 +0000
(11:04 +0000)
util/cgg/bootlex.l
patch
|
blob
|
history
diff --git
a/util/cgg/bootlex.l
b/util/cgg/bootlex.l
index
9332c9a
..
c283e07
100644
(file)
--- a/
util/cgg/bootlex.l
+++ b/
util/cgg/bootlex.l
@@
-122,7
+122,8
@@
return return(RETURN);
*p++=c; *p++=input(); break;
case '\n':
yyerror("Unterminated string");
- break;
+ unput(c);
+ /* fall through */
case '"':
tipe=STRING; goto endstr;
case '%':