3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2010 Christian Schoenebeck * |
* Copyright (C) 2005 - 2013 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
105 |
|
|
106 |
// we provide our own version of yyerror() so we don't have to link against the yacc library |
// we provide our own version of yyerror() so we don't have to link against the yacc library |
107 |
void yyerror(const char* s); |
void yyerror(const char* s); |
108 |
|
void yyerror(void* x, const char* s) { yyerror(s); } |
109 |
|
|
110 |
using namespace LinuxSampler; |
using namespace LinuxSampler; |
111 |
|
|
112 |
%} |
%} |
113 |
|
|
114 |
// reentrant parser |
// reentrant parser |
115 |
%pure_parser |
%pure-parser |
116 |
|
|
117 |
|
%parse-param {void* yyparse_param} |
118 |
|
|
119 |
// tell bison to spit out verbose syntax error messages |
// tell bison to spit out verbose syntax error messages |
120 |
%error-verbose |
%error-verbose |