Fix plain year directive
Only Y2014 or apply year 2014 would actually set the year for the following transactions; year 2014 would silently do nothing.
This commit is contained in:
parent
66ce4ac48f
commit
e716980c7d
1 changed files with 7 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue