Parent Directory | Revision Log | Patch
revision 2645 by schoenebeck, Wed Jun 18 00:14:57 2014 UTC | revision 2888 by schoenebeck, Sun Apr 24 18:16:10 2016 UTC | |
---|---|---|
# | Line 828 ParserContext::~ParserContext() { | Line 828 ParserContext::~ParserContext() { |
828 | } | } |
829 | } | } |
830 | ||
831 | void ParserContext::addErr(int line, const char* txt) { | void ParserContext::addErr(int line, int column, const char* txt) { |
832 | ParserIssue e; | ParserIssue e; |
833 | e.type = PARSER_ERROR; | e.type = PARSER_ERROR; |
834 | e.txt = txt; | e.txt = txt; |
835 | e.line = line; | e.line = line; |
836 | e.column = column; | |
837 | vErrors.push_back(e); | vErrors.push_back(e); |
838 | vIssues.push_back(e); | vIssues.push_back(e); |
839 | } | } |
840 | ||
841 | void ParserContext::addWrn(int line, const char* txt) { | void ParserContext::addWrn(int line, int column, const char* txt) { |
842 | ParserIssue w; | ParserIssue w; |
843 | w.type = PARSER_WARNING; | w.type = PARSER_WARNING; |
844 | w.txt = txt; | w.txt = txt; |
845 | w.line = line; | w.line = line; |
846 | w.column = column; | |
847 | vWarnings.push_back(w); | vWarnings.push_back(w); |
848 | vIssues.push_back(w); | vIssues.push_back(w); |
849 | } | } |
|
ViewVC Help | |
Powered by ViewVC |