summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorManuel Amador (Rudd-O) <rudd-o@rudd-o.com>2016-02-06 00:45:49 +0000
committerManuel Amador (Rudd-O) <rudd-o@rudd-o.com>2016-02-06 00:45:49 +0000
commit80058dfe8fb384f6e1529afa810c6a9bd08cdf88 (patch)
treec989f987b3a47854867f026ca6a9630cafe2b2fc /src/global.h
parent11151414aa70f6673b2464e938ae930d8674c915 (diff)
downloadfork-ledger-80058dfe8fb384f6e1529afa810c6a9bd08cdf88.tar.gz
fork-ledger-80058dfe8fb384f6e1529afa810c6a9bd08cdf88.tar.bz2
fork-ledger-80058dfe8fb384f6e1529afa810c6a9bd08cdf88.zip
Ensure that parse errors produce useful RuntimeErrors for Python code.
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.h b/src/global.h
index 1a4a3076..42464e35 100644
--- a/src/global.h
+++ b/src/global.h
@@ -166,7 +166,7 @@ See LICENSE file included with the distribution for details and disclaimer.");
OPTION_(global_scope_t, version, DO() { // -v
parent->show_version_info(std::cout);
- throw error_count(0); // exit immediately
+ throw error_count(0, ""); // exit immediately
});
};