- ASSERT_LIVE_IS_ALLOWED (s);
-
- Lily_lexer *lexer = (Lily_lexer *) SCM_CELL_WORD_1 (s);
-
- scm_gc_mark (lexer->chordmodifier_tab_);
- if (lexer->parser_)
- scm_gc_mark (lexer->parser_->self_scm ());
- scm_gc_mark (lexer->pitchname_tab_stack_);
- scm_gc_mark (lexer->start_module_);
- scm_gc_mark (lexer->extra_tokens_);
- return lexer->scopes_;
+ ASSERT_LIVE_IS_ALLOWED (self_scm ());
+
+ scm_gc_mark (chordmodifier_tab_);
+ if (parser_)
+ scm_gc_mark (parser_->self_scm ());
+ scm_gc_mark (pitchname_tab_stack_);
+ scm_gc_mark (start_module_);
+ scm_gc_mark (extra_tokens_);
+ return scopes_;