projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43aa5cc
)
First print the error message about an unknown char, then proceed to the next char...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 23 Aug 2008 10:17:47 +0000
(10:17 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 23 Aug 2008 10:17:47 +0000
(10:17 +0000)
[r21380]
lexer.c
patch
|
blob
|
history
diff --git
a/lexer.c
b/lexer.c
index
7a906d4
..
42b1710
100644
(file)
--- a/
lexer.c
+++ b/
lexer.c
@@
-1573,8
+1573,8
@@
void lexer_next_preprocessing_token(void)
return;
default:
+ errorf(&lexer_token.source_position, "unknown character '%c' found", c);
next_char();
- errorf(&lexer_token.source_position, "unknown character '%c' found\n", c);
lexer_token.type = T_ERROR;
return;
}