]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.42
authorfred <fred>
Sun, 24 Mar 2002 19:35:09 +0000 (19:35 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:35:09 +0000 (19:35 +0000)
lily/include/lexer.hh

index 8a55f1a585d3dc95afc00df68039f1de3304f75c..266ee22a56c385caa26c95952e37580add593d37 100644 (file)
@@ -20,9 +20,27 @@ bool busy_parsing();
 void kill_lexer();
 void set_lexer();
 
+
+struct Lexer_prefs {
+    int default_duration, default_dots, default_octave_i_;
+    int default_plet_type, default_plet_dur;
+    String textstyle_str_;
+    
+    bool last_duration_mode ;
+    
+    Lexer_prefs();
+    Moment plet_mom();
+    void set_default_duration(int *);
+    void set_last_duration(int n);
+    void set_duration_mode(String s);
+    void get_default_duration(int *);
+    void set_plet(int,int);
+};
+
 /// lexer with provisions for include files.
 struct My_flex_lexer : yyFlexLexer {
-
+    Lexer_prefs prefs;
+    
     Array<Input_file*> include_stack_;
     Assoc<String, Identifier*> *identifier_assoc_p_;
     Keyword_table * keytable_p_;