2 lily-lexer-scheme.cc -- implement Lily_lexer bindings.
4 source file of the GNU LilyPond music typesetter
6 (c) 2006--2007 Han-Wen Nienhuys <hanwen@lilypond.org>
10 #include "lily-lexer.hh"
12 LY_DEFINE(ly_lexer_keywords, "ly:lexer-keywords",
14 "Return a list of (KEY . CODE) pairs, signifying the lilypond reserved words list.")
16 Lily_lexer * lex = Lily_lexer::unsmob (lexer);
17 SCM_ASSERT_TYPE(lex, lexer, SCM_ARG1, __FUNCTION__, "lily lexer");
18 return lex->keyword_list ();