File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 33
44/* .sublime- *
55/.run
6- /wiki /
76
87/tests /quickTest.lua
98/tests /quickTest.meta.lua
Original file line number Diff line number Diff line change 11Changelog
22LuaPreprocess
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+
412v1.13.2 (2021-05-30)
513Command line program:
614- Fixed internal error when reporting a user error.
Original file line number Diff line number Diff line change 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
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:
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
123127local MAX_DUPLICATE_FILE_INSERTS = 1000 -- @Incomplete: Make this a parameter for processFile()/processString().
124128
You can’t perform that action at this time.
0 commit comments