/[svn]/linuxsampler/trunk/src/scriptvm/parser.y
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/parser.y

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

revision 3791 by schoenebeck, Sun Jun 14 14:29:41 2020 UTC revision 3792 by schoenebeck, Mon Jun 15 15:26:10 2020 UTC
# Line 427  statement: Line 427  statement:
427                                    " but " + ToString(args->argsCount()) +                                    " but " + ToString(args->argsCount()) +
428                                    " values were assigned." ).c_str());                                    " values were assigned." ).c_str());
429                      } else {                      } else {
430                            if (args->argsCount() < size) {
431                                PARSE_WRN(@5, (String("Array variable '") + name +
432                                          "' was declared with size " + ToString(size) +
433                                          " but only " + ToString(args->argsCount()) +
434                                          " values were assigned." ).c_str());
435                            }
436                          ExprType_t declType = EMPTY_EXPR;                          ExprType_t declType = EMPTY_EXPR;
437                          if (name[0] == '%') {                          if (name[0] == '%') {
438                              declType = INT_EXPR;                              declType = INT_EXPR;

Legend:
Removed from v.3791  
changed lines
  Added in v.3792

  ViewVC Help
Powered by ViewVC