creaturesImage work: add mutableCopy and tint methods to the base class (and change...
[openc2e.git] / mng.l
blob9cd580c42cf959d0b66c95d4563ef11389bb1e45
1 %option noyywrap
2 %option nodefault
3 %option yylineno
4         #include <list>
5         #include "mngparser.tab.hpp"
6 %%
7 [\n\r ] ;
8 Variable        return MNG_Variable;
9 Effect          return MNG_Effect;
10 Track           return MNG_Track;
11 Stage           return MNG_Stage;
12 Pan             return MNG_Pan;
13 Volume          return MNG_Volume;
14 Delay           return MNG_Delay;
15 TempoDelay      return MNG_TempoDelay;
16 Random          return MNG_Random;
17 FadeIn          return MNG_FadeIn;
18 FadeOut         return MNG_FadeOut;
19 BeatLength      return MNG_BeatLength;
20 AleotoricLayer  return MNG_AleotoricLayer;
21 LoopLayer       return MNG_LoopLayer;
22 Update          return MNG_Update;
23 Add             return MNG_Add;
24 Subtract        return MNG_Subtract;
25 Multiply        return MNG_Multiply;
26 Divide          return MNG_Divide;
27 SineWave        return MNG_SineWave;
28 CosineWave      return MNG_CosineWave;
29 Voice           return MNG_Voice;
30 Interval        return MNG_Interval;
31 Condition       return MNG_Condition;
32 BeatSynch       return MNG_BeatSynch;
33 UpdateRate      return MNG_UpdateRate;
34 Wave            return MNG_Wave;
35 [A-Za-z]([A-Za-z0-9])*  mnglval.string = strdup(yytext); return MNG_name;
36 -?[0-9]+\.[0-9]+        mnglval.number = atof(yytext); return MNG_number;
37 -?[0-9]+                mnglval.number = atof(yytext); return MNG_number;
38 [(){},=] return yytext[0];
39 \/\/.*  return MNG_comment;