aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-23 21:06:45 +1000
committerDavid Walter Seikel2012-01-23 21:06:45 +1000
commitff427d3acb589ce4abb0366493c5a96e7754754a (patch)
tree32add140c31a4891a2a6026f00dcb8f2ea20872f /LuaSL/src/LuaSL_lemon_yaccer.y
parentTweak the whitespace output a bit. (diff)
downloadSledjHamr-ff427d3acb589ce4abb0366493c5a96e7754754a.zip
SledjHamr-ff427d3acb589ce4abb0366493c5a96e7754754a.tar.gz
SledjHamr-ff427d3acb589ce4abb0366493c5a96e7754754a.tar.bz2
SledjHamr-ff427d3acb589ce4abb0366493c5a96e7754754a.tar.xz
Document the new parser conflict.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y
index a9caaa4..5995cab 100644
--- a/LuaSL/src/LuaSL_lemon_yaccer.y
+++ b/LuaSL/src/LuaSL_lemon_yaccer.y
@@ -196,6 +196,7 @@ expr(A) ::= LSL_INTEGER(B). { B->basicType = OT_integer; A = B; }
196expr(A) ::= LSL_KEY(B). { B->basicType = OT_key; A = B; } 196expr(A) ::= LSL_KEY(B). { B->basicType = OT_key; A = B; }
197%nonassoc LSL_LIST. 197%nonassoc LSL_LIST.
198expr(A) ::= LSL_BRACKET_OPEN(B) exprList LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } // Probably need a specific addList(). 198expr(A) ::= LSL_BRACKET_OPEN(B) exprList LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } // Probably need a specific addList().
199// This causes a parsing conflict. How?
199expr(A) ::= LSL_BRACKET_OPEN(B) LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } 200expr(A) ::= LSL_BRACKET_OPEN(B) LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; }
200%nonassoc LSL_ROTATION. 201%nonassoc LSL_ROTATION.
201// Uses the same symbol for less than, greater than, and the rotation / vector delimiters. 202// Uses the same symbol for less than, greater than, and the rotation / vector delimiters.