aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-30 18:31:40 +1000
committerDavid Walter Seikel2012-01-30 18:31:40 +1000
commitfb7e642c4600f30b30e147eb5b91f0adc1f08f57 (patch)
tree3a025b675a972c3e7663b0fb6273e6c82ec0114a /LuaSL/src/LuaSL_lemon_yaccer.y
parentRemove the else if stuff, and empty function lists. Add the else precedence ... (diff)
downloadSledjHamr-fb7e642c4600f30b30e147eb5b91f0adc1f08f57.zip
SledjHamr-fb7e642c4600f30b30e147eb5b91f0adc1f08f57.tar.gz
SledjHamr-fb7e642c4600f30b30e147eb5b91f0adc1f08f57.tar.bz2
SledjHamr-fb7e642c4600f30b30e147eb5b91f0adc1f08f57.tar.xz
Add a new struct for tracking bits of text and the attached ignorable, then use it for names.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y
index 78aa349..b6eac2e 100644
--- a/LuaSL/src/LuaSL_lemon_yaccer.y
+++ b/LuaSL/src/LuaSL_lemon_yaccer.y
@@ -32,8 +32,8 @@ script ::= .
32 32
33%nonassoc LSL_BLOCK_OPEN LSL_BLOCK_CLOSE LSL_STATE. 33%nonassoc LSL_BLOCK_OPEN LSL_BLOCK_CLOSE LSL_STATE.
34stateBlock(A) ::= beginBlock(L) functionList(B) LSL_BLOCK_CLOSE(R). { A = addBlock(compiler, L, B, R); } 34stateBlock(A) ::= beginBlock(L) functionList(B) LSL_BLOCK_CLOSE(R). { A = addBlock(compiler, L, B, R); }
35state(S) ::= LSL_DEFAULT(I) stateBlock(B). { S = addState(compiler, I, B); } 35state(A) ::= LSL_DEFAULT(I) stateBlock(B). { A = addState(compiler, NULL, I, B); }
36state(S) ::= LSL_STATE_CHANGE LSL_IDENTIFIER(I) stateBlock(B). { S = addState(compiler, I, B); } 36state(A) ::= LSL_STATE_CHANGE(S) LSL_IDENTIFIER(I) stateBlock(B). { A = addState(compiler, S, I, B); }
37 37
38// Function definitions. 38// Function definitions.
39 39