boolangery / py-lua-parser

A Lua parser and AST builder written in Python.
MIT License
117 stars 36 forks source link

wrong precedence parsing the length operation (#) #41

Open tony-song opened 1 year ago

tony-song commented 1 year ago

`

tab+1

is parsed to LengthOp(AddOp(tab,1)) `

It should be AddOp(LengthOp(tab), 1)

fabi321 commented 1 year ago

as far as I can tell, this is a duplicate of #38