From: Michael Beck Date: Sun, 16 Mar 2008 16:14:46 +0000 (+0000) Subject: set the source position of an call expression X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b8ff59670859a10320fee5834db01c098454adba;p=cparser set the source position of an call expression [r18956] --- diff --git a/parser.c b/parser.c index 4c4dfe7..72a94d5 100644 --- a/parser.c +++ b/parser.c @@ -4920,6 +4920,7 @@ static expression_t *parse_call_expression(unsigned precedence, { (void) precedence; expression_t *result = allocate_expression_zero(EXPR_CALL); + result->base.source_position = expression->base.source_position; call_expression_t *call = &result->call; call->function = expression;