diff options
author | Manuel Amador (Rudd-O) <rudd-o@rudd-o.com> | 2016-02-06 00:45:49 +0000 |
---|---|---|
committer | Manuel Amador (Rudd-O) <rudd-o@rudd-o.com> | 2016-02-06 00:45:49 +0000 |
commit | 80058dfe8fb384f6e1529afa810c6a9bd08cdf88 (patch) | |
tree | c989f987b3a47854867f026ca6a9630cafe2b2fc /src/context.h | |
parent | 11151414aa70f6673b2464e938ae930d8674c915 (diff) | |
download | fork-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/context.h')
-rw-r--r-- | src/context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/context.h b/src/context.h index 61797dc4..603898f4 100644 --- a/src/context.h +++ b/src/context.h @@ -70,6 +70,7 @@ public: std::size_t errors; std::size_t count; std::size_t sequence; + std::string last; explicit parse_context_t(const path& cwd) : current_directory(cwd), master(NULL), scope(NULL), |