fstirlitz / luaparse

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

Ignore empty statements handling in Lua 5.1 #40

Closed ghost closed 7 years ago

ghost commented 7 years ago

Well, Lua 5.1 doesn't support empty statements, as said in the reference manual: https://www.lua.org/manual/5.1/manual.html#2.4.1

fstirlitz commented 7 years ago

My remarks:

ghost commented 7 years ago

@fstirlitz Hm, okay. I'll elaborate a new commit, but... how do I set the Lua version in the test cases? Edit: Got it!

fstirlitz commented 7 years ago

You could just force-push on this branch. No need to close the pull request.

ghost commented 7 years ago

@fstirlitz I'm not sure what is force-push, I'm kinda new in GitHun... t-t

ghost commented 7 years ago

@fstirlitz Unfortunately make scaffold-tests isn't a valid command.