fstirlitz / luaparse

A Lua parser written in JavaScript
https://fstirlitz.github.io/luaparse/
MIT License
459 stars 91 forks source link

do luaparse support bit opratation? #124

Closed SiberianMark closed 2 years ago

SiberianMark commented 2 years ago

when I run the code with bit operation like '&' or '|' local isFirst = (eventType & INPUT_START)>0 it will report an error like [ERROR] SyntaxError: [378:32] unexpected symbol '&' near 'eventType'

SiberianMark commented 2 years ago

{luaVersion: '5.3'}