source file of the LilyPond music typesetter
- (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
+#include "includable-lexer.hh"
+
#include <sstream>
#include "config.hh"
-
-#include "includable-lexer.hh"
#include "file-path.hh"
#include "source-file.hh"
#include "source.hh"
if (yy_current_buffer)
state_stack_.push (yy_current_buffer);
- if (verbose_global_b)
+ if (be_verbose_global)
progress_indication (String ("[") + name);
include_stack_.push (file);
if (yy_current_buffer)
state_stack_.push (yy_current_buffer);
- if (verbose_global_b)
+ if (be_verbose_global)
progress_indication (String ("[") + name);
include_stack_.push (file);
{
include_stack_.pop ();
char_count_stack_.pop ();
- if (verbose_global_b)
+ if (be_verbose_global)
progress_indication ("]");
yy_delete_buffer (yy_current_buffer);
#if HAVE_FLEXLEXER_YY_CURRENT_BUFFER
close_input ();
}
}
-/**
- Since we don't create the buffer state from the bytes directly, we
- don't know about the location of the lexer. Add this as a
- YY_USER_ACTION */
-void
-Includable_lexer::add_lexed_char (int count)
-{
- char_count_stack_.top () += count;
-}
Source_file*
Includable_lexer::get_source_file () const