summaryrefslogtreecommitdiff
path: root/src/context.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/context.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/context.h')
-rw-r--r--src/context.h1
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),