aboutsummaryrefslogtreecommitdiff
path: root/src/build.y
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-02-03 19:40:03 +0000
committerMike Buland <eichlan@xagasoft.com>2010-02-03 19:40:03 +0000
commita2c615fe781cc64a4603d6ba198ea4fd91b36c8d (patch)
tree7765c290a6d3d71de909a46e962fa2e3b28c1e21 /src/build.y
parentd71d3ede34f22c52442ad7c9a35cba88d3660c15 (diff)
downloadbuild-a2c615fe781cc64a4603d6ba198ea4fd91b36c8d.tar.gz
build-a2c615fe781cc64a4603d6ba198ea4fd91b36c8d.tar.bz2
build-a2c615fe781cc64a4603d6ba198ea4fd91b36c8d.tar.xz
build-a2c615fe781cc64a4603d6ba198ea4fd91b36c8d.zip
Here's the new build you need. I fixed it so you can use complex expressions
in function calls.
Diffstat (limited to '')
-rw-r--r--src/build.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.y b/src/build.y
index 8cfc526..4190dbc 100644
--- a/src/build.y
+++ b/src/build.y
@@ -241,8 +241,8 @@ func_params:
241 | func_param_list 241 | func_param_list
242 ; 242 ;
243 243
244func_param_list: { bld.xAst.openBranch(); } value 244func_param_list: { bld.xAst.openBranch(); } expr
245 | func_param_list ',' { bld.xAst.openBranch(); } value 245 | func_param_list ',' { bld.xAst.openBranch(); } expr
246 ; 246 ;
247 247
248function: UNDEF '(' { 248function: UNDEF '(' {