projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly test for a valid identifer after #define and #undef.
[cparser]
/
main.c
diff --git
a/main.c
b/main.c
index
20fcd69
..
dcbda98
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-227,8
+227,7
@@
static void do_parsing(compilation_unit_t *unit)
switch_pp_input(unit->input, unit->name);
parse();
- translation_unit_t *ast = finish_parsing();
- unit->ast = ast;
+ unit->ast = finish_parsing();
check_unclosed_conditionals();
close_pp_input();
bool res = close_input(unit);