diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-13 16:25:03 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-13 16:25:03 -0700 |
commit | 58bacfc912564b8cf5f4e8b3e566b2423797a5ef (patch) | |
tree | 81aa2523aa3898b346ac3b1d4e3835825d5bbb1c /crawl-ref/source/externs.h | |
parent | 69fb24caca51bd9435051c8e1494f235c5aaeeb0 (diff) | |
download | crawl-ref-58bacfc912564b8cf5f4e8b3e566b2423797a5ef.tar.gz crawl-ref-58bacfc912564b8cf5f4e8b3e566b2423797a5ef.zip |
Append currently processed init filename and line number to the end of init
file parsing error/warning messages.
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 1498cdfe14..619295a303 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -1899,7 +1899,9 @@ public: throw (std::string); public: - std::string filename; // The name of the file containing options. + std::string filename; // The name of the file containing options. + std::string basefilename; // Base (pathless) file name + int line_num; // Current line number being processed. // View options std::vector<feature_override> feature_overrides; |