/[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 3573 by schoenebeck, Tue Aug 27 21:36:53 2019 UTC revision 3577 by schoenebeck, Wed Aug 28 15:23:23 2019 UTC
# Line 410  void FunctionCall::dump(int level) { Line 410  void FunctionCall::dump(int level) {
410    
411  ExprType_t FunctionCall::exprType() const {  ExprType_t FunctionCall::exprType() const {
412      if (!fn) return EMPTY_EXPR;      if (!fn) return EMPTY_EXPR;
413      return fn->returnType();      FunctionCall* self = const_cast<FunctionCall*>(this);
414        return fn->returnType(dynamic_cast<VMFnArgs*>(&*self->args));
415  }  }
416    
417  VMFnResult* FunctionCall::execVMFn() {  VMFnResult* FunctionCall::execVMFn() {
# Line 1056  Statements* SyncBlock::statements() cons Line 1057  Statements* SyncBlock::statements() cons
1057      return (m_statements) ? const_cast<Statements*>( &*m_statements ) : NULL;      return (m_statements) ? const_cast<Statements*>( &*m_statements ) : NULL;
1058  }  }
1059    
1060    String Neg::evalCastToStr() {
1061        return expr->evalCastToStr();
1062    }
1063    
1064  void Neg::dump(int level) {  void Neg::dump(int level) {
1065      printIndents(level);      printIndents(level);
1066      printf("Negative Expr\n");      printf("Negative Expr\n");

Legend:
Removed from v.3573  
changed lines
  Added in v.3577

  ViewVC Help
Powered by ViewVC