mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Bug #1959202: Column icons and stored templates
This commit is contained in:
parent
5706c95ce2
commit
37d73caab8
@ -523,7 +523,7 @@ class _Parser:
|
||||
if not text.startswith('program:'):
|
||||
self.error(_("A stored template must begin with '{0}'").format('program:'))
|
||||
text = text[len('program:'):]
|
||||
subprog = _Parser().program(self, self.funcs,
|
||||
subprog = _Parser().program(self.parent, self.funcs,
|
||||
self.parent.lex_scanner.scan(text))
|
||||
self.funcs[name].cached_parse_tree = subprog
|
||||
return CallNode(self.line_number, name, subprog, arguments)
|
||||
|
Loading…
x
Reference in New Issue
Block a user