Skip to content

Commit f833bdc

Browse files
committed
Updated changelog.
1 parent 7999e0a commit f833bdc

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ local/
33

44
/*.sublime-*
55
/.run
6-
/wiki/
76

87
/tests/quickTest.lua
98
/tests/quickTest.meta.lua

Changelog.txt

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
LuaPreprocess
33

4+
v1.14 (2021-07-13)
5+
Library:
6+
- !(), !!() and @insert now work in macros.
7+
- Macro names can now contain lookups.
8+
- Updated string serialization, including for newToken("string").
9+
- Fixed error in output for '@line..""'.
10+
- Improved some error messages.
11+
412
v1.13.2 (2021-05-30)
513
Command line program:
614
- Fixed internal error when reporting a user error.

preprocess.lua

+7-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
!... The line will simply run during preprocessing. The line can span multiple actual lines if it contains brackets.
4545
!!... The line will appear in both the metaprogram and the final program. The line must be an assignment.
4646
!(...) The result of the parenthesis will be outputted as a literal if it's an expression, otherwise it'll just run.
47-
!!(...) The expression in the parenthesis will be outputted as Lua code. The expression must result in a string.
47+
!!(...) The result of the expression in the parenthesis will be outputted as Lua code. The result must be a string.
4848
4949
Short examples:
5050
@@ -58,6 +58,9 @@
5858
5959
local font = !!(isDeveloper and "loadDevFont()" or "loadUserFont()")
6060
61+
-- See the full documentation for additional features:
62+
-- http://luapreprocess.refreezed.com/docs/extra-functionality/
63+
6164
----------------------------------------------------------------
6265
6366
-- Example program:
@@ -112,13 +115,14 @@
112115
-- Though in this specific case a preprocessor line (without the parenthesis) would be nicer:
113116
!func()
114117
115-
-- For the full documentation, see: http://luapreprocess.refreezed.com/docs/
118+
-- For the full documentation, see:
119+
-- http://luapreprocess.refreezed.com/docs/
116120
117121
--============================================================]]
118122

119123

120124

121-
local PP_VERSION = "1.13.2"
125+
local PP_VERSION = "1.14.0"
122126

123127
local MAX_DUPLICATE_FILE_INSERTS = 1000 -- @Incomplete: Make this a parameter for processFile()/processString().
124128

0 commit comments

Comments
 (0)