/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
main_input_level_ = 0;
extra_tokens_ = SCM_EOL;
- if (Input::unsmob (override_input))
+ if (Input::is_smob (override_input))
override_input_ = *Input::unsmob (override_input);
smobify_self ();
}
int
-Lily_lexer::print_smob (SCM s, SCM port, scm_print_state *)
+Lily_lexer::print_smob (SCM port, scm_print_state *)
{
- Lily_lexer *lexer = Lily_lexer::unsmob (s);
-
scm_puts ("#<Lily_lexer ", port);
- scm_display (lexer->scopes_, port);
+ scm_display (scopes_, port);
scm_puts (" >", port);
return 1;
}