projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCC.lex: fixed bug #1852894: # character hangs the compiler
[fw/sdcc]
/
src
/
SDCC.lex
diff --git
a/src/SDCC.lex
b/src/SDCC.lex
index 91f8bf319fe1566b56b659e3a41b4774686e552f..e0038cc65202abf5aa30a0557481a7cfa8a14573 100644
(file)
--- a/
src/SDCC.lex
+++ b/
src/SDCC.lex
@@
-501,8
+501,10
@@
static const char *stringLiteral(void)
dbuf_destroy(&linebuf);
}
else
- unput(ch);
- break;
+ {
+ unput(ch);
+ goto out;
+ }
default:
count_char(ch);