source file of the GNU LilyPond music typesetter
- (c) 1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#ifndef LEXER_HH
#define LEXER_HH
-#include <FlexLexer.h>
+#include "includable-lexer.hh"
+#include "input.hh"
#include "dictionary.hh"
#include "lily-proto.hh"
#include "flower-proto.hh"
#include "array.hh"
#include "string.hh"
-#include "includable-lexer.hh"
#include "duration.hh"
#include "pitch.hh"
#include "protected-scm.hh"
~My_lily_lexer ();
int yylex ();
+ Input last_input_;
+ void prepare_for_next_token ();
+ int try_special_identifiers (SCM* ,SCM);
Input here_input () const;
-
+
void add_scope (SCM);
SCM remove_scope ();
SCM lookup_identifier (String s);
void push_note_state ();
+ void push_markup_state ();
void push_figuredbass_state ();
void push_chord_state ();
void push_lyric_state ();
private:
int lookup_keyword (String);
int scan_bare_word (String);
+ SCM scan_markup_word (String);
int scan_escaped_word (String);
-
+ int identifier_type (SCM);
char escaped_char (char) const;
};