aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-06-23 20:41:51 +0200
committerThomas White <taw@bitwiz.me.uk>2018-06-24 15:47:46 +0200
commit2eb57179d684be7c7367a49e622fe1242c4bd274 (patch)
tree8629fd02497bde127b73a9c432b97142dc0cf7c0 /src/sc_interp.c
parentc3411258c83c8d288d9c4d744705f029d25b1a6f (diff)
Preparation for new style model
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));