Skip to content

Commit f9aa4ba

Browse files
committed
Updated changelog.
1 parent 0982cab commit f9aa4ba

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
Dumb Lua Parser
33

4+
v2.2 (2022-06-02)
5+
- Added function isStatement().
6+
- Fixed updateReferences() not always updating all references properly (which sometimes broke minify()).
7+
- Fixed backslashes in string literals not being outputted as \\.
8+
- LuaJIT: Fixed validateTree() reporting 64-bit integers as invalid literal values.
9+
410
v2.1 (2021-09-03)
511
- Added functions: parseExpression(), valueToAst(), validateTree(), isExpression(), newNodeFast().
612
- Added AST node fields: AstNode.pretty, AstNode.prefix, AstNode.suffix .

dumbParser.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
--= Tokenize Lua code or create ASTs (Abstract Syntax Trees)
77
--= and convert the data back to Lua.
88
--=
9-
--= Version: 2.1-dev
9+
--= Version: 2.2 (2022-06-02)
1010
--=
1111
--= License: MIT (see the bottom of this file)
1212
--= Website: http://luaparser.refreezed.com/
@@ -428,7 +428,7 @@ Special number notation rules.
428428
429429
-============================================================]=]
430430

431-
local PARSER_VERSION = "2.1.0-dev"
431+
local PARSER_VERSION = "2.2.0"
432432

433433
local NORMALIZE_MINUS_ZERO, HANDLE_ENV
434434
do

0 commit comments

Comments
 (0)