projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b55649
)
Fix incorrect format check warnings.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 2 Jun 2008 15:07:02 +0000
(15:07 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 2 Jun 2008 15:07:02 +0000
(15:07 +0000)
[r19943]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
c007479
..
51e5bdd
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-5890,8
+5890,6
@@
static expression_t *parse_call_expression(unsigned precedence,
}
}
- check_format(&result->call);
-
/* do default promotion */
for( ; argument != NULL; argument = argument->next) {
type_t *type = argument->expression->base.type;
@@
-5902,6
+5900,8
@@
static expression_t *parse_call_expression(unsigned precedence,
= create_implicit_cast(argument->expression, type);
}
+ check_format(&result->call);
+
return result;
end_error:
return create_invalid_expression();