boolangery / py-lua-parser

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

Comments are ignored if they are written after the last line of a table ending with a comma #15

Closed houssam-haydar-sb closed 2 years ago

houssam-haydar-sb commented 3 years ago

Comments are ignored if the following 2 conditions are met:

Example: foo = { mykey = "myvalue", -- this comment is ignored if previous line ends with a comma }