From c4889b5b98763cb85612381ca75ecba51f0f4dd4 Mon Sep 17 00:00:00 2001 From: ReFreezed Date: Tue, 16 Nov 2021 21:32:37 +0100 Subject: [PATCH] Updated changelog. --- Changelog.txt | 7 +++++++ preprocess.lua | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 0ef5390..9d3432b 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,6 +1,13 @@ Changelog LuaPreprocess +v1.16 (2021-11-16) +Library: +- Added preprocessor symbols (in the form of '$name'). +- Added functions: startInterceptingOutput(), stopInterceptingOutput(). +- Macros can use outputLua() and co. instead of returning code. +- Detecting errors such as !(x,y). + v1.15 (2021-08-01) Library: - Added functions: getOutputSoFar(), getOutputSizeSoFar(), getCurrentLineNumberInOutput(). diff --git a/preprocess.lua b/preprocess.lua index f83a54f..ff5fa03 100644 --- a/preprocess.lua +++ b/preprocess.lua @@ -60,7 +60,7 @@ local font = !!(isDeveloper and "loadDevFont()" or "loadUserFont()") - -- See the full documentation for additional features: + -- See the full documentation for additional features (like macros): -- http://luapreprocess.refreezed.com/docs/extra-functionality/ ---------------------------------------------------------------- @@ -124,7 +124,7 @@ -local PP_VERSION = "1.15.0-dev" +local PP_VERSION = "1.16.0" local MAX_DUPLICATE_FILE_INSERTS = 1000 -- @Incomplete: Make this a parameter for processFile()/processString(). @@ -1842,7 +1842,7 @@ end -- stopInterceptingOutput() -- luaString = stopInterceptingOutput( ) --- Stop intercepting output. +-- Stop intercepting output and retrieve collected code. function metaFuncs.stopInterceptingOutput() errorIfNotRunningMeta(2)