27 |
union { |
union { |
28 |
LinuxSampler::vmint iValue; |
LinuxSampler::vmint iValue; |
29 |
LinuxSampler::vmfloat fValue; |
LinuxSampler::vmfloat fValue; |
30 |
|
// Intentionally using C-strings instead of std::string for parser's |
31 |
|
// string tokens, because any destructor based class had a negative |
32 |
|
// impact on parser performance in benchmarks. Reason for this is that |
33 |
|
// text tokens are the most common one while parsing, plus the parser |
34 |
|
// copies the YYSTYPE struct a lot (i.e. when shifting). For C-strings |
35 |
|
// coming directly from Flex, we don't have to free them. For C-strings |
36 |
|
// allocated by us, use yyextra->autoFreeAfterParse(s); |
37 |
char* sValue; |
char* sValue; |
38 |
struct { |
struct { |
39 |
LinuxSampler::vmint iValue; |
LinuxSampler::vmint iValue; |