/[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 3835 by schoenebeck, Thu Aug 6 12:15:02 2020 UTC revision 3836 by schoenebeck, Sat Nov 28 14:47:14 2020 UTC
# Line 1882  ParserContext::~ParserContext() { Line 1882  ParserContext::~ParserContext() {
1882          delete globalRealMemory;          delete globalRealMemory;
1883          globalRealMemory = NULL;          globalRealMemory = NULL;
1884      }      }
1885        for (void* data : vAutoFreeAfterParse)
1886            free(data);
1887        vAutoFreeAfterParse.clear();
1888  }  }
1889    
1890  void ParserContext::addErr(int firstLine, int lastLine, int firstColumn,  void ParserContext::addErr(int firstLine, int lastLine, int firstColumn,
# Line 1951  bool ParserContext::isPreprocessorCondit Line 1954  bool ParserContext::isPreprocessorCondit
1954      return userPreprocessorConditions.count(name);      return userPreprocessorConditions.count(name);
1955  }  }
1956    
1957    void ParserContext::autoFreeAfterParse(void* data) {
1958        vAutoFreeAfterParse.push_back(data);
1959    }
1960    
1961  std::vector<ParserIssue> ParserContext::issues() const {  std::vector<ParserIssue> ParserContext::issues() const {
1962      return vIssues;      return vIssues;
1963  }  }

Legend:
Removed from v.3835  
changed lines
  Added in v.3836

  ViewVC Help
Powered by ViewVC