diff options
author | David Walter Seikel | 2012-01-07 01:18:11 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-07 01:18:11 +1000 |
commit | 7cdcc9ee93757f8406094373d3faddaf62849e52 (patch) | |
tree | 9b66b2c8160f4c9e901b1eb07c3372fe62037c7c /LuaSL/src/LuaSL_yaccer.y | |
parent | Flex performance tweaks, and other options. (diff) | |
download | SledjHamr-7cdcc9ee93757f8406094373d3faddaf62849e52.zip SledjHamr-7cdcc9ee93757f8406094373d3faddaf62849e52.tar.gz SledjHamr-7cdcc9ee93757f8406094373d3faddaf62849e52.tar.bz2 SledjHamr-7cdcc9ee93757f8406094373d3faddaf62849e52.tar.xz |
Convert the parser from dealing with just expressions, to dealing with the entire AST.
Diffstat (limited to 'LuaSL/src/LuaSL_yaccer.y')
-rw-r--r-- | LuaSL/src/LuaSL_yaccer.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_yaccer.y b/LuaSL/src/LuaSL_yaccer.y index fd5a461..e208cce 100644 --- a/LuaSL/src/LuaSL_yaccer.y +++ b/LuaSL/src/LuaSL_yaccer.y | |||
@@ -28,7 +28,7 @@ | |||
28 | %% | 28 | %% |
29 | 29 | ||
30 | input : | 30 | input : |
31 | expr { ((LuaSL_yyparseParam*)data)->expression = $1; } | 31 | expr { ((LuaSL_yyparseParam*)data)->ast = addExpression($1); } |
32 | ; | 32 | ; |
33 | 33 | ||
34 | expr : | 34 | expr : |