]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/lily-lexer.hh
Issue 5145/1: Lexer: factor out push_markup_predicates
[lilypond.git] / lily / include / lily-lexer.hh
index 7a4bc15de560fe49e77e8947784d97674b06a569..ff2e8668c3615a349f26a50d23da3f756ac05399 100644 (file)
@@ -34,10 +34,11 @@ void set_lexer ();
 class Lily_lexer : public Smob<Lily_lexer>, public Includable_lexer
 {
 public:
-  int print_smob (SCM, scm_print_state *);
+  int print_smob (SCM, scm_print_state *) const;
   SCM mark_smob () const;
-  static const char type_p_name_[];
+  static const char * const type_p_name_;
   virtual ~Lily_lexer ();
+  int scan_word (SCM & output, SCM sym);
 private:
   int lookup_keyword (const string&);
   int scan_bare_word (const string&);
@@ -45,6 +46,7 @@ private:
   int scan_shorthand (const string&);
   int scan_scm_id (SCM);
   int identifier_type (SCM);
+  void push_markup_predicates (SCM sig);
   char escaped_char (char) const;
   const char *YYText_utf8 ();