projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c4654
)
EXPR_INVALID gets constructed in case of errors
author
Matthias Braun
<matze@braunis.de>
Sun, 2 Nov 2008 16:36:26 +0000
(16:36 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sun, 2 Nov 2008 16:36:26 +0000
(16:36 +0000)
[r23392]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
532524a
..
3a3f75d
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-5419,6
+5419,7
@@
static bool expression_returns(expression_t const *const expr)
case EXPR_BUILTIN_CONSTANT_P:
case EXPR_BUILTIN_PREFETCH:
case EXPR_OFFSETOF:
+ case EXPR_INVALID:
case EXPR_STATEMENT: // TODO implement
return true;
@@
-5457,7
+5458,6
@@
static bool expression_returns(expression_t const *const expr)
expression_returns(expr->binary.right);
case EXPR_UNKNOWN:
- case EXPR_INVALID:
break;
}