staff-symbol-referencer.cc: Junk redundant functions.
[lilypond.git] / lily / lily-lexer-scheme.cc
blobe619c8e7957ca45bafba98437c5e076ebc7838f8
1 /*
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>
8 */
10 #include "lily-lexer.hh"
12 LY_DEFINE (ly_lexer_keywords, "ly:lexer-keywords",
13 1, 0, 0, (SCM lexer),
14 "Return a list of @code{(KEY . CODE)} pairs, signifying the"
15 " LilyPond reserved words list.")
17 LY_ASSERT_SMOB (Lily_lexer, lexer, 1);
19 Lily_lexer * lex = Lily_lexer::unsmob (lexer);
20 return lex->keyword_list ();