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
@@ -1404,7 +1413,7 @@ function lcpp.compileFile(filename, predefines, macro_sources, next, _local)
if not file then error("file not found: "..filename) end
local code = file:read('*a')
predefines = predefines or {}
- predefines[__FILE__] = filename+ predefines[__FILE__] = '"' .. filename .. '"'
return lcpp.compile(code, predefines, macro_sources)
end
ayourtch
added a commit
to ayourtch/lcpp
that referenced
this issue
Aug 18, 2016
Testcase:
The file name gets substituted without the double quotes.
The text was updated successfully, but these errors were encountered: