We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a7ded commit 641d7cbCopy full SHA for 641d7cb
1 file changed
script/parser/compile.lua
@@ -2674,15 +2674,19 @@ local function parseBinaryOP(asAction, level)
2674
if token == '//'
2675
or token == '<<'
2676
or token == '>>' then
2677
- pushError {
2678
- type = 'UNSUPPORT_SYMBOL',
2679
- version = {'Lua 5.3', 'Lua 5.4', 'Lua 5.5'},
2680
- start = op.start,
2681
- finish = op.finish,
2682
- info = {
2683
- version = State.version,
+ if State.version ~= 'Lua 5.3'
+ and State.version ~= 'Lua 5.4'
+ and State.version ~= 'Lua 5.5' then
+ pushError {
+ type = 'UNSUPPORT_SYMBOL',
+ version = {'Lua 5.3', 'Lua 5.4', 'Lua 5.5'},
+ start = op.start,
2684
+ finish = op.finish,
2685
+ info = {
2686
+ version = State.version,
2687
+ }
2688
}
- }
2689
+ end
2690
end
2691
Index = Index + 2
2692
return op, myLevel
0 commit comments