You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2446,6 +2589,7 @@ local function _processFileOrString(params, isFile)
2446
2589
2447
2590
currentPathIn=""
2448
2591
currentPathOut=""
2592
+
fastStrings=false
2449
2593
2450
2594
ifisFilethen
2451
2595
returninfo
@@ -2495,6 +2639,7 @@ local function processFileOrString(params, isFile)
2495
2639
metaPathForErrorMessages=""
2496
2640
outputFromMeta=nil
2497
2641
canOutputNil=true
2642
+
fastStrings=false
2498
2643
2499
2644
ifxpcallOkthen
2500
2645
returnunpack(returnValues, 1, returnValues.n)
@@ -2532,14 +2677,15 @@ local pp = {
2532
2677
-- params: Table with these fields:
2533
2678
-- pathIn = pathToInputFile -- [Required]
2534
2679
-- pathOut = pathToOutputFile -- [Required]
2535
-
-- pathMeta = pathForMetaprogram -- [Optional] You can inspect this temporary output file if an error ocurrs in the metaprogram.
2680
+
-- pathMeta = pathForMetaprogram -- [Optional] You can inspect this temporary output file if an error occurs in the metaprogram.
2536
2681
--
2537
-
-- addLineNumbers = boolean -- [Optional] Add comments with line numbers to the output.
2538
2682
-- debug = boolean -- [Optional] Debug mode. The metaprogram file is formatted more nicely and does not get deleted automatically.
2683
+
-- addLineNumbers = boolean -- [Optional] Add comments with line numbers to the output.
2539
2684
--
2540
2685
-- backtickStrings = boolean -- [Optional] Enable the backtick (`) to be used as string literal delimiters. Backtick strings don't interpret any escape sequences and can't contain other backticks. (Default: false)
2541
-
-- canOutputNil = boolean -- [Optional] Allow !() and outputValue() to output nil. (Default: true)
-- onInsert = function( name ) -- [Optional] Called for each @insert"name" statement. It's expected to return a Lua code string. By default 'name' is a path to a file to be inserted.
@@ -2557,14 +2703,15 @@ local pp = {
2557
2703
--
2558
2704
-- params: Table with these fields:
2559
2705
-- code = luaString -- [Required]
2560
-
-- pathMeta = pathForMetaprogram -- [Optional] You can inspect this temporary output file if an error ocurrs in the metaprogram.
2706
+
-- pathMeta = pathForMetaprogram -- [Optional] You can inspect this temporary output file if an error occurs in the metaprogram.
2561
2707
--
2562
-
-- addLineNumbers = boolean -- [Optional] Add comments with line numbers to the output.
2563
2708
-- debug = boolean -- [Optional] Debug mode. The metaprogram file is formatted more nicely and does not get deleted automatically.
2709
+
-- addLineNumbers = boolean -- [Optional] Add comments with line numbers to the output.
2564
2710
--
2565
2711
-- backtickStrings = boolean -- [Optional] Enable the backtick (`) to be used as string literal delimiters. Backtick strings don't interpret any escape sequences and can't contain other backticks. (Default: false)
2566
-
-- canOutputNil = boolean -- [Optional] Allow !() and outputValue() to output nil. (Default: true)
-- onInsert = function( name ) -- [Optional] Called for each @insert"name" statement. It's expected to return a Lua code string. By default 'name' is a path to a file to be inserted.
0 commit comments