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 |
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) |
841 |
return yystrlen (yystr); |
return (int) yystrlen (yystr); |
842 |
|
|
843 |
return yystpcpy (yyres, yystr) - yyres; |
return int( yystpcpy (yyres, yystr) - yyres ); |
844 |
} |
} |