projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f70fd6
)
Remove unnecessary goto.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 17 Jun 2011 04:04:38 +0000
(06:04 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 17 Jun 2011 09:20:38 +0000
(11:20 +0200)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
1d068a7
..
16bf988
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-7022,7
+7022,7
@@
static expression_t *parse_label_address(void)
eat(T_ANDAND);
if (token.type != T_IDENTIFIER) {
parse_error_expected("while parsing label address", T_IDENTIFIER, NULL);
-
goto end_error
;
+
return create_invalid_expression()
;
}
label_t *const label = get_label();
@@
-7036,8
+7036,6
@@
static expression_t *parse_label_address(void)
expression->base.type = type_void_ptr;
expression->label_address.label = label;
return expression;
-end_error:
- return create_invalid_expression();
}
/**