aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.h
diff options
authorLinus Torvalds <torvalds@home.transmeta.com>2003-04-01 23:44:24 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:02 -0700
commit284092b4880833063249ff0a7f5f0584d55c439d (patch)
treeb7d23fa83b4ae459f20472d186f3494e03205780 /parse.h
parent01b7c455c98d5da1bc16b8918225df6901da749d (diff)
downloadsparse-dev-284092b4880833063249ff0a7f5f0584d55c439d.tar.gz
Add some limited attribute parsing. "packed", "aligned" and "type".
The last one gives a "context mask" and "context value" to a symbol, which can be used to verify that the symbol is only used in a certain context.
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index fce24b4d..3ddc5b6e 100644
--- a/parse.h
+++ b/parse.h
@@ -83,4 +83,6 @@ extern void translation_unit(struct token *, struct symbol_list **);
extern struct symbol *ctype_integer(unsigned int spec);
extern struct symbol *ctype_fp(unsigned int spec);
+extern int match_string_ident(struct ident *, const char *);
+
#endif /* PARSE_H */