diff --git a/Changelog.txt b/Changelog.txt index b9209f6..1827488 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,6 +1,21 @@ Changelog LuaPreprocess +v1.20 (2022-07-01) +Library: +- getOutputSoFar() can now take an output buffer argument. +- Detecting duplicate names in dual code: !!x, x = ... +- Fixed evaluate() sometimes raising an error instead of returning it. +- Fixed issue with files not ending with a newline. +- Fixed silly internal error when Lua 5.2+ was used. +Command line program: +- Added options: --version, --help. +- Added "alldone" message. +- --meta can now take a file path. +- Fixed silly internal error when Lua 5.2+ was used. +Repository: +- Fixed test suite not working in Lua 5.2+. Oops! + v1.19 (2022-06-20) Library: - All uses of '!' now work in macros. @@ -166,7 +181,7 @@ v1.3 (2019-01-05) - Added concatTokens(). v1.2 (2019-01-03) -- Added pp.processString(). +- Added processString(). v1.1.1 (2019-01-02) - (No info) @@ -175,4 +190,4 @@ v1.1 (2018-12-22) - (No info) v1.0 (2018-11-02) -- Initial release. +- Initial release! diff --git a/preprocess-cl.lua b/preprocess-cl.lua index bb5821f..7ef706c 100644 --- a/preprocess-cl.lua +++ b/preprocess-cl.lua @@ -1,7 +1,7 @@ #!/bin/sh _=[[ exec lua "$0" "$@" -]] +]]and nil --============================================================== --= --= LuaPreprocess command line program diff --git a/preprocess.lua b/preprocess.lua index adc230c..f5b3df0 100644 --- a/preprocess.lua +++ b/preprocess.lua @@ -1,6 +1,6 @@ --[[============================================================ --= ---= LuaPreprocess v1.19-dev - preprocessing library +--= LuaPreprocess v1.20 - preprocessing library --= by Marcus 'ReFreezed' Thunström --= --= License: MIT (see the bottom of this file) @@ -131,7 +131,7 @@ -local PP_VERSION = "1.19.0-dev" +local PP_VERSION = "1.20.0" local MAX_DUPLICATE_FILE_INSERTS = 1000 -- @Incomplete: Make this a parameter for processFile()/processString().