We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4f6c71 commit c50dd07Copy full SHA for c50dd07
core/utilities/ast.lua
@@ -15,7 +15,7 @@ function ast.debug (tree, level)
15
local out = string.rep(" ", 1 + level)
16
if level == 0 then
17
SU.debug("ast", function ()
18
- return "[" .. SILE.currentlyProcessingFile
+ return "[" .. (SILE.currentlyProcessingFile or "<nowhere>")
19
end)
20
end
21
if type(tree) == "function" then
0 commit comments