diff options
author | Ian Romanick <[email protected]> | 2010-03-10 13:26:52 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-10 13:26:52 -0800 |
commit | 7cfddf19413ef61fcf1450bd61e9ece4cf1735a4 (patch) | |
tree | 06b923d30e32acb0a7e071df8c858103b0f2342a /glsl_parser.ypp | |
parent | d10fe19495191072d39689337700b69e62252bf1 (diff) |
Make ast_function_expression subclass of ast_expression
Diffstat (limited to 'glsl_parser.ypp')
-rw-r--r-- | glsl_parser.ypp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/glsl_parser.ypp b/glsl_parser.ypp index debbcea9366..2f337b127c5 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); } ; |