diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2014-12-28 13:42:02 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2014-12-28 13:42:02 +0100 |
commit | 0462c887ae5814d08de7d2a860c41bb1a07bee52 (patch) | |
tree | 0e231a62e3b8e23a8bbf9a1229ea1a178c376333 /test/regress/1038_2.test | |
parent | e716980c7d4ae2a2852a7cd0e5c0cf52014ed787 (diff) | |
download | fork-ledger-0462c887ae5814d08de7d2a860c41bb1a07bee52.tar.gz fork-ledger-0462c887ae5814d08de7d2a860c41bb1a07bee52.tar.bz2 fork-ledger-0462c887ae5814d08de7d2a860c41bb1a07bee52.zip |
Improve error handling when parsing year directives
A literal Y directive or ‘year’ directive with an empty or invalid
argument, e.g. ‘2o14’ (that is a small letter ‘oh’ instead of a zero)
would fail with the following rather unhelpful error message:
Error: bad lexical cast: source type value could not be interpreted as target
Diffstat (limited to 'test/regress/1038_2.test')
0 files changed, 0 insertions, 0 deletions