diff options
author | David Walter Seikel | 2012-01-07 04:28:24 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-07 04:28:24 +1000 |
commit | 1603cadc4b3345e01f866f6f94bf69df078b4808 (patch) | |
tree | dd18f3e7c6d2a1b4e73acd5bba68ce457b2dcda8 /LuaSL/src/LuaSL_yaccer.y | |
parent | No need to actually compile the LSL flex and yacc sources, they are just refe... (diff) | |
download | SledjHamr-1603cadc4b3345e01f866f6f94bf69df078b4808.zip SledjHamr-1603cadc4b3345e01f866f6f94bf69df078b4808.tar.gz SledjHamr-1603cadc4b3345e01f866f6f94bf69df078b4808.tar.bz2 SledjHamr-1603cadc4b3345e01f866f6f94bf69df078b4808.tar.xz |
Make the parser more generic with function pointers and a big arse table.
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 e208cce..bbec1be 100644 --- a/LuaSL/src/LuaSL_yaccer.y +++ b/LuaSL/src/LuaSL_yaccer.y | |||
@@ -21,7 +21,7 @@ | |||
21 | %left LSL_DIVIDE LSL_MODULO LSL_MULTIPLY | 21 | %left LSL_DIVIDE LSL_MODULO LSL_MULTIPLY |
22 | %right LSL_BIT_NOT LSL_BOOL_NOT LSL_NEGATION | 22 | %right LSL_BIT_NOT LSL_BOOL_NOT LSL_NEGATION |
23 | 23 | ||
24 | %token LSL_PARENTHESIS_OPEN LSL_PARENTHESIS_CLOSE | 24 | %token LSL_PARENTHESIS_OPEN LSL_PARENTHESIS_CLOSE LSL_EXPRESSION |
25 | 25 | ||
26 | %type <expressionValue> expr | 26 | %type <expressionValue> expr |
27 | 27 | ||