Fix immediate pdf objects

This commit is contained in:
Marcel Krüger 2020-07-12 20:40:36 +02:00
parent 510173db71
commit 0b6879a3c4

View File

@ -712,7 +712,7 @@ token.luacmd("pdfextension", function(_, imm)
local attr = token.scan_keyword'stream' and (token.scan_keyword'attr' and token.scan_string() or '') local attr = token.scan_keyword'stream' and (token.scan_keyword'attr' and token.scan_string() or '')
local isfile = token.scan_keyword'file' local isfile = token.scan_keyword'file'
local content = token.scan_string() local content = token.scan_string()
if immediate then if imm == 'immediate' then
if attr then if attr then
pfile:stream(num, attr, content, isfile) pfile:stream(num, attr, content, isfile)
else else