241 |
"const" return CONST_; // note: "CONST" is already defined for C/C++ compilers on Windows by default |
"const" return CONST_; // note: "CONST" is already defined for C/C++ compilers on Windows by default |
242 |
"polyphonic" return POLYPHONIC; |
"polyphonic" return POLYPHONIC; |
243 |
"mod" return MOD; |
"mod" return MOD; |
244 |
|
"function" return FUNCTION; |
245 |
|
"call" return CALL; |
246 |
|
|
247 |
[&,()[\]<>=*+#/-] { |
[&,()[\]<>=*+#/-] { |
248 |
return *yytext; |
return *yytext; |
273 |
|
|
274 |
[ \t\r]+ /* eat up whitespace */ |
[ \t\r]+ /* eat up whitespace */ |
275 |
|
|
276 |
. printf( "Unrecognized character: '%s' (line %d, column %d\n", yytext, yylineno, yycolumn); |
. printf( "Unrecognized character: '%s' (line %d, column %d)\n", yytext, yylineno, yycolumn); |
277 |
|
|
278 |
%% |
%% |
279 |
|
|