aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r--src/sc_interp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 2e81dd9..88cd811 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -1438,6 +1438,9 @@ void sc_interp_run_stylesheet(SCInterpreter *scin, SCBlock *bl)
} else if ( strcmp(name, "ss") == 0 ) {
try_add_macro(scin, options, sc_block_child(bl));
+ } else if ( strcmp(name, "def") == 0 ) {
+ try_add_macro(scin, options, sc_block_child(bl));
+
} else if ( strcmp(name, "template") == 0 ) {
try_add_template(scin, options, sc_block_child(bl));