diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-02-03 19:40:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-02-03 19:40:03 +0000 |
commit | a2c615fe781cc64a4603d6ba198ea4fd91b36c8d (patch) | |
tree | 7765c290a6d3d71de909a46e962fa2e3b28c1e21 | |
parent | d71d3ede34f22c52442ad7c9a35cba88d3660c15 (diff) | |
download | build-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.
-rw-r--r-- | src/build.y | 4 |
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 | ||
244 | func_param_list: { bld.xAst.openBranch(); } value | 244 | func_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 | ||
248 | function: UNDEF '(' { | 248 | function: UNDEF '(' { |