summaryrefslogtreecommitdiff
path: root/glsl_parser.ypp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-10 13:26:52 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-03-10 13:26:52 -0800
commit7cfddf19413ef61fcf1450bd61e9ece4cf1735a4 (patch)
tree06b923d30e32acb0a7e071df8c858103b0f2342a /glsl_parser.ypp
parentd10fe19495191072d39689337700b69e62252bf1 (diff)
Make ast_function_expression subclass of ast_expression
Diffstat (limited to 'glsl_parser.ypp')
-rw-r--r--glsl_parser.ypp4
1 files changed, 1 insertions, 3 deletions
diff --git a/glsl_parser.ypp b/glsl_parser.ypp
index debbcea..2f337b1 100644
--- a/glsl_parser.ypp
+++ b/glsl_parser.ypp
@@ -338,9 +338,7 @@ function_call_header_with_parameters:
function_call_header:
function_identifier '('
{
- $$ = new ast_expression(ast_function_call,
- (struct ast_expression *) $1,
- NULL, NULL);
+ $$ = new ast_function_expression($1);
}
;