projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parser: Parse and reject GCC range initializers "[0 ... 9]".
[cparser]
/
ast_t.h
diff --git
a/ast_t.h
b/ast_t.h
index
b980f90
..
e0371e7
100644
(file)
--- a/
ast_t.h
+++ b/
ast_t.h
@@
-348,6
+348,7
@@
struct designator_t {
position_t pos;
symbol_t *symbol; /**< the symbol if any */
expression_t *array_index; /**< the array index if any */
+ expression_t *range_last; /**< last index of a range initializer, if any */
designator_t *next;
};