1.16.0
Some cool features this time around
Pretty printer:
- Remember separators in tables when pretty printing (e.g.
{foo, bar; baz}
will keep the;
afterbar
instead of resetting to,
). See #82 - Add newlines after table fields with semicolons. See #82
- Add a
;
after statements when omitting it would cause the syntax to be ambiguous with the next statement. See #82 (comment)
Parser/linter:
- Throw syntax error when there are multiple field separators in a row (e.g.
{foo,,}
). - Warn for
self.Owner
being deprecated. See #79
General
- Add
--test
argument toglualint
, this tries to parse a file with the two available parsers, tries to pretty print it, then re-parse the result. This can be used to find debug problems in the parser and pretty printer of glualint. Most people will not use this option.