projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*** empty log message ***
[fw/sdcc]
/
src
/
SDCC.lex
diff --git
a/src/SDCC.lex
b/src/SDCC.lex
index b4c5cfb464f213302beb24a0fc9b49f78572a4b7..9607a9d4595b2e58cf5d547e687902b75dd3072f 100644
(file)
--- a/
src/SDCC.lex
+++ b/
src/SDCC.lex
@@
-416,6
+416,10
@@
char *stringLiteral () {
while ((ch = input()) && (isspace(ch) || ch=='\\')) {
switch (ch) {
case '\\':
+ if ((ch=input())!='\n') {
+ werror (W_STRAY_BACKSLASH, column);
+ unput(ch);
+ }
break;
case '\n':
yylineno++;