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
@@ -642,7 +642,7 @@ function _tokenize(s, path, allowPpTokens, allowBacktickStrings, allowJitSyntax)
642
642
tok, ptr=parseStringlike(s, ptr)
643
643
ifnottokthen
644
644
localerrCode=ptr
645
-
iferrCode==ERROR_UNFINISHED_VALUEthen
645
+
iferrCode==ERROR_UNFINISHED_STRINGLIKEthen
646
646
errorInFile(s, path, reprStart, "Tokenizer", "Unfinished long string.")
647
647
else
648
648
errorInFile(s, path, reprStart, "Tokenizer", "Invalid long string.")
@@ -2749,7 +2749,7 @@ local pp = {
2749
2749
-- 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)
-- 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.
@@ -2775,7 +2775,7 @@ local pp = {
2775
2775
-- 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)
-- 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