Skip to content

1.16.0

Compare
Choose a tag to compare
@FPtje FPtje released this 21 Jun 09:50
· 325 commits to master since this release

Some cool features this time around

Pretty printer:

  • Remember separators in tables when pretty printing (e.g. {foo, bar; baz} will keep the ; after bar 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 to glualint, 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.