X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Flily-parser.hh;h=e4ff2969b92ce8143326b8a4a7889ee0ee64169e;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=2ea3b0c6dcdaff87d68342fd16fa785c8bf31888;hpb=886093b9ffe6b0f1a4a9d7d02ec12242c85b3caa;p=lilypond.git diff --git a/lily/include/lily-parser.hh b/lily/include/lily-parser.hh index 2ea3b0c6dc..e4ff2969b9 100644 --- a/lily/include/lily-parser.hh +++ b/lily/include/lily-parser.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2014 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,10 +31,12 @@ */ class Lily_parser : public Smob { + SCM do_yyparse (); + static SCM do_yyparse_trampoline (void *parser); public: - static int print_smob (SCM, SCM, scm_print_state *); - static SCM mark_smob (SCM); - static const char type_p_name_[]; + int print_smob (SCM, scm_print_state *) const; + SCM mark_smob () const; + static const char * const type_p_name_; virtual ~Lily_parser (); Lily_lexer *lexer_; Sources *sources_; @@ -55,7 +57,6 @@ public: void clear (); void do_init_file (); - SCM do_yyparse (); void include_string (const string &ly_code); void parse_file (const string &init, const string &name, const string &out_name); void parse_string (const string &ly_code);