projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fb604
)
parser: Remove redundant assignment.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 12 Dec 2012 15:38:24 +0000
(16:38 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 12 Dec 2012 15:57:19 +0000
(16:57 +0100)
allocate_expression_zero() sets the pos.
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
4eb6f25
..
185eb16
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-6316,7
+6316,6
@@
static expression_t *parse_complex_extract_expression(void)
kind = EXPR_UNARY_REAL;
}
expression_t *extract = allocate_expression_zero(kind);
- extract->base.pos = *HERE;
next_token();
extract->unary.value = parse_subexpression(PREC_CAST);