aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.h
diff options
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-05-23 17:41:39 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:45 -0700
commita10932174ca47672bc8f62a5b98fbcfb34ee534b (patch)
tree7365f1793fd1f1f23db7de1704aeb0dbce372da1 /parse.h
parente5b62a635d5a9d7b5da58922086bb3c9570eb36c (diff)
downloadsparse-dev-a10932174ca47672bc8f62a5b98fbcfb34ee534b.tar.gz
Parse and evaluate gcc computed goto extensions: label addressing
(&&label) and computed goto (goto *expr). Add label ctype for __label__ identifier. This is still quite broken (it should create a block-symbol in the NS_LABEL namespace, right now it creates a regular symbol).
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index 42fa0811..e47e7e0f 100644
--- a/parse.h
+++ b/parse.h
@@ -79,6 +79,7 @@ struct statement {
extern struct token *parse_expression(struct token *, struct expression **);
extern struct token *statement_list(struct token *, struct statement_list **);
+extern struct symbol *label_symbol(struct token *token);
extern int show_statement(struct statement *);
extern void show_statement_list(struct statement_list *, const char *);