Skip to content

v0.6.0

Compare
Choose a tag to compare
@z7zmey z7zmey released this 25 Feb 16:26
· 212 commits to master since this release
d07e234

new

golang/json dumper
saving and printing free-floating comments and whitespaces

nodes

attribute StringVar was removed from expr.Variable
node stmt.Die was removed, added Die attribute to stmt.Exit instead

optimizations

save position within node
use sync.Pool to reuse scanner.Token

bugfix

__halt_compiler(); terminates parsing process
accept backslash+newline in single quotes
fixed /*/ comment termination
fixed crash on an empty list item, missed items are represented by empty *expr.ArrayItem