diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-04 03:34:37 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-04 03:34:37 -0400 |
commit | 1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4 (patch) | |
tree | 0ecd593b7ca164743bb9a4addf70ec76072288ce /src/error.h | |
parent | 28da097fc245340b316539c5533d470d82f19965 (diff) | |
download | fork-ledger-1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4.tar.gz fork-ledger-1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4.tar.bz2 fork-ledger-1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4.zip |
Simplified the textual parser, and improved metadata support.
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/error.h b/src/error.h index 4ff5a04c..568e509a 100644 --- a/src/error.h +++ b/src/error.h @@ -68,9 +68,9 @@ extern std::ostringstream _ctxt_buffer; string error_context(); string file_context(const path& file, std::size_t line); -string line_context(const string& line, - istream_pos_type pos = istream_pos_type(0), - istream_pos_type end_pos = istream_pos_type(0)); +string line_context(const string& line, + std::size_t pos = 0, + std::size_t end_pos = 0); #define DECLARE_EXCEPTION(name, kind) \ class name : public kind { \ |