projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b8050e
)
make parser more robust against invalid declarations
author
Matthias Braun
<matze@braunis.de>
Fri, 30 May 2008 08:57:45 +0000
(08:57 +0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 30 May 2008 08:57:45 +0000
(08:57 +0000)
[r19830]
ast_t.h
patch
|
blob
|
history
diff --git
a/ast_t.h
b/ast_t.h
index
b3b8bb9
..
8a0dc02
100644
(file)
--- a/
ast_t.h
+++ b/
ast_t.h
@@
-539,6
+539,7
@@
struct declaration_t {
unsigned int is_inline : 1;
unsigned int used : 1; /**< Set if the declaration is used. */
unsigned int deprecated : 1; /**< Microsoft or GNU deprecated attribute. */
+ unsigned int valid : 1; /**< declaration is valid (=no syntax errors) */
type_t *type;
symbol_t *symbol;
source_position_t source_position;