summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textual.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc
index b2f19be4..5862c26c 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1375,6 +1375,13 @@ bool instance_t::general_directive(char * line)
return true;
}
break;
+
+ case 'y':
+ if (std::strcmp(p, "year") == 0) {
+ apply_year_directive(arg);
+ return true;
+ }
+ break;
}
if (expr_t::ptr_op_t op = lookup(symbol_t::DIRECTIVE, p)) {