File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -2674,15 +2674,19 @@ local function parseBinaryOP(asAction, level)
26742674 if token == ' //'
26752675 or token == ' <<'
26762676 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 ,
2677+ if State .version ~= ' Lua 5.3'
2678+ and State .version ~= ' Lua 5.4'
2679+ and State .version ~= ' Lua 5.5' then
2680+ pushError {
2681+ type = ' UNSUPPORT_SYMBOL' ,
2682+ version = {' Lua 5.3' , ' Lua 5.4' , ' Lua 5.5' },
2683+ start = op .start ,
2684+ finish = op .finish ,
2685+ info = {
2686+ version = State .version ,
2687+ }
26842688 }
2685- }
2689+ end
26862690 end
26872691 Index = Index + 2
26882692 return op , myLevel
You can’t perform that action at this time.
0 commit comments