/[svn]/linuxsampler/trunk/src/scriptvm/tree.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/tree.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2888 by schoenebeck, Sun Apr 24 18:16:10 2016 UTC revision 2889 by schoenebeck, Mon Apr 25 17:28:23 2016 UTC
# Line 828  ParserContext::~ParserContext() { Line 828  ParserContext::~ParserContext() {
828      }      }
829  }  }
830    
831  void ParserContext::addErr(int line, int column, const char* txt) {  void ParserContext::addErr(int firstLine, int lastLine, int firstColumn, int lastColumn, 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.firstLine = firstLine;
836      e.column = column;      e.lastLine = lastLine;
837        e.firstColumn = firstColumn;
838        e.lastColumn = lastColumn;
839      vErrors.push_back(e);      vErrors.push_back(e);
840      vIssues.push_back(e);      vIssues.push_back(e);
841  }  }
842    
843  void ParserContext::addWrn(int line, int column, const char* txt) {  void ParserContext::addWrn(int firstLine, int lastLine, int firstColumn, int lastColumn, const char* txt) {
844      ParserIssue w;      ParserIssue w;
845      w.type = PARSER_WARNING;      w.type = PARSER_WARNING;
846      w.txt = txt;      w.txt = txt;
847      w.line = line;      w.firstLine = firstLine;
848      w.column = column;      w.lastLine = lastLine;
849        w.firstColumn = firstColumn;
850        w.lastColumn = lastColumn;
851      vWarnings.push_back(w);      vWarnings.push_back(w);
852      vIssues.push_back(w);      vIssues.push_back(w);
853  }  }

Legend:
Removed from v.2888  
changed lines
  Added in v.2889

  ViewVC Help
Powered by ViewVC