summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-04-20 21:28:14 -0700
committerJohn Wiegley <johnw@newartisans.com>2016-04-20 21:28:14 -0700
commit8bdc0bba7cbd2b1c404553793468ced78170849a (patch)
tree63b13116f1f0a71dfe474cc8ddf636658da6a199 /src/global.h
parent6065ad71fc693c2d03ed0db9742ea4b41a7a2ac5 (diff)
parentd300dfefec6210a326bdd12f12be1a93db305dab (diff)
downloadfork-ledger-8bdc0bba7cbd2b1c404553793468ced78170849a.tar.gz
fork-ledger-8bdc0bba7cbd2b1c404553793468ced78170849a.tar.bz2
fork-ledger-8bdc0bba7cbd2b1c404553793468ced78170849a.zip
Merge pull request #446 from Rudd-O/truepyerrors
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
});
};