31 |
%parse-param { LinuxSampler::ParserContext* context } |
%parse-param { LinuxSampler::ParserContext* context } |
32 |
%lex-param { void* scanner } |
%lex-param { void* scanner } |
33 |
// avoid symbol collision with other (i.e. future) auto generated (f)lex scanners |
// avoid symbol collision with other (i.e. future) auto generated (f)lex scanners |
34 |
%name-prefix "InstrScript_" |
// (NOTE: "=" is deprecated here with Bison 3.x, however removing it would cause an error with Bison 2.x) |
35 |
|
%name-prefix="InstrScript_" |
36 |
%locations |
%locations |
37 |
%defines |
%defines |
38 |
%error-verbose |
%error-verbose |
299 |
break; |
break; |
300 |
} |
} |
301 |
} |
} |
302 |
if (argsOK) |
if (argsOK) { |
303 |
$$ = context->vartable[name] = new IntArrayVariable(context, size, args); |
context->vartable[name] = new IntArrayVariable(context, size, args); |
304 |
else |
$$ = new NoOperation; |
305 |
|
} else |
306 |
$$ = new FunctionCall("nothing", new Args, NULL); // whatever |
$$ = new FunctionCall("nothing", new Args, NULL); // whatever |
307 |
} |
} |
308 |
} |
} |
832 |
yyres[yyn] = '\0'; |
yyres[yyn] = '\0'; |
833 |
return yyn; |
return yyn; |
834 |
} |
} |
835 |
|
/* |
836 |
do_not_strip_quotes: ; |
do_not_strip_quotes: ; |
837 |
|
*/ |
838 |
} |
} |
839 |
|
|
840 |
if (! yyres) |
if (! yyres) |