/[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 2948 by schoenebeck, Fri Jul 15 15:29:04 2016 UTC revision 2951 by schoenebeck, Fri Jul 15 20:07:47 2016 UTC
# Line 882  void BitwiseNot::dump(int level) { Line 882  void BitwiseNot::dump(int level) {
882      printf(")\n");      printf(")\n");
883  }  }
884    
885    StatementsRef ParserContext::userFunctionByName(const String& name) {
886        if (!userFnTable.count(name)) {
887            return StatementsRef();
888        }
889        return userFnTable.find(name)->second;
890    }
891    
892  VariableRef ParserContext::variableByName(const String& name) {  VariableRef ParserContext::variableByName(const String& name) {
893      if (!vartable.count(name)) {      if (!vartable.count(name)) {
894          return VariableRef();          return VariableRef();

Legend:
Removed from v.2948  
changed lines
  Added in v.2951

  ViewVC Help
Powered by ViewVC