]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-lexer-scheme.cc
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond into lilypond...
[lilypond.git] / lily / lily-lexer-scheme.cc
index 4bf001ea0a3941eb1e6002ad54889a55f9e38264..fa783bd1758bcb25341c23693f5c58b9c6cc2c09 100644 (file)
@@ -3,17 +3,19 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2006--2007 Han-Wen Nienhuys <hanwen@lilypond.org>
+  (c) 2006--2009 Han-Wen Nienhuys <hanwen@lilypond.org>
   
 */
 
 #include "lily-lexer.hh"
 
-LY_DEFINE(ly_lexer_keywords, "ly:lexer-keywords",
+LY_DEFINE (ly_lexer_keywords, "ly:lexer-keywords",
          1, 0, 0, (SCM lexer),
-         "Return a list of (KEY . CODE) pairs, signifying the lilypond reserved words list.")
+         "Return a list of @code{(KEY . CODE)} pairs, signifying the"
+         " LilyPond reserved words list.")
 {
+  LY_ASSERT_SMOB (Lily_lexer, lexer, 1);
+
   Lily_lexer * lex = Lily_lexer::unsmob (lexer);
-  SCM_ASSERT_TYPE(lex, lexer, SCM_ARG1, __FUNCTION__, "lily lexer");
   return lex->keyword_list ();
 }