projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67376ad
)
Create AST for select expressions even if the LHS has incomplete type.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 14 Sep 2008 15:45:52 +0000
(15:45 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 14 Sep 2008 15:45:52 +0000
(15:45 +0000)
[r21943]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
dab67a1
..
3c10013
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-6992,7
+6992,7
@@
static expression_t *parse_select_expression(unsigned precedence,
if (!declaration->init.complete) {
errorf(HERE, "request for member '%Y' of incomplete type '%T'",
symbol, type_left);
-
return create_invalid_expression()
;
+
goto create_error_entry
;
}
entry = find_compound_entry(declaration, symbol);