summaryrefslogtreecommitdiff
path: root/script/parser/compile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/compile.lua')
-rw-r--r--script/parser/compile.lua11
1 files changed, 1 insertions, 10 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua
index e396cb21..bae1e21a 100644
--- a/script/parser/compile.lua
+++ b/script/parser/compile.lua
@@ -2834,16 +2834,7 @@ local function compileExpAsAction(exp)
pushActionIntoCurrentChunk(exp)
if GetToSetMap[exp.type] then
skipSpace()
- local isLocal
- if exp.type == 'getlocal' and exp[1] == State.ENVMode then
- exp.special = nil
- local loc = createLocal(exp, parseLocalAttrs())
- loc.locPos = exp.start
- loc.effect = maxinteger
- isLocal = true
- skipSpace()
- end
- local action, isSet = parseMultiVars(exp, parseExp, isLocal)
+ local action, isSet = parseMultiVars(exp, parseExp)
if isSet
or action.type == 'getmethod' then
return action