From: fred Date: Sun, 24 Mar 2002 19:35:09 +0000 (+0000) Subject: lilypond-0.0.42 X-Git-Tag: release/1.5.59~5197 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2e53a926ee5551e4fd7ea80f06cc14e522c697fa;p=lilypond.git lilypond-0.0.42 --- diff --git a/lily/include/lexer.hh b/lily/include/lexer.hh index 8a55f1a585..266ee22a56 100644 --- a/lily/include/lexer.hh +++ b/lily/include/lexer.hh @@ -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 include_stack_; Assoc *identifier_assoc_p_; Keyword_table * keytable_p_;