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, 2006 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 * |
35 |
#include "../common/global.h" |
#include "../common/global.h" |
36 |
#include "lscpevent.h" |
#include "lscpevent.h" |
37 |
#include "../Sampler.h" |
#include "../Sampler.h" |
38 |
|
#include "../drivers/midi/MidiInstrumentMapper.h" |
39 |
|
|
40 |
/// Will be returned by the parser in case of syntax errors. |
/// Will be returned by the parser in case of syntax errors. |
41 |
#define LSCP_SYNTAX_ERROR -69 |
#define LSCP_SYNTAX_ERROR -69 |
65 |
*/ |
*/ |
66 |
struct YYSTYPE { |
struct YYSTYPE { |
67 |
union { |
union { |
68 |
char Char; |
char Char; |
69 |
unsigned int Number; |
unsigned int Number; |
70 |
double Dotnum; |
double Dotnum; |
71 |
fill_response_t FillResponse; |
fill_response_t FillResponse; |
72 |
LSCPEvent::event_t Event; |
LSCPEvent::event_t Event; |
73 |
|
MidiInstrumentMapper::mode_t LoadMode; |
74 |
}; |
}; |
75 |
std::string String; |
std::string String; |
76 |
std::map<std::string,std::string> KeyValList; |
std::map<std::string,std::string> KeyValList; |