aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
parentFix include path ordering - check for local paths when given (diff)
downloadsparse-a10932174ca47672bc8f62a5b98fbcfb34ee534b.tar.gz
sparse-a10932174ca47672bc8f62a5b98fbcfb34ee534b.tar.bz2
sparse-a10932174ca47672bc8f62a5b98fbcfb34ee534b.zip
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 42fa081..e47e7e0 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 *);