]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/includable-lexer.cc
Web: add references by Mika Kuuskankare and David Cameron.
[lilypond.git] / lily / includable-lexer.cc
index 2ddfdd38c0390ea60b8503059a7f95ecb0e5b5bd..8c78481316a1aa418ac2ccf5614e04883d341f9d 100644 (file)
@@ -121,6 +121,12 @@ Includable_lexer::new_input (string name, string data, Sources *sources)
   yy_switch_to_buffer (yy_create_buffer (file->get_istream (), YY_BUF_SIZE));
 }
 
+void
+Includable_lexer::add_string_include (string data)
+{
+  pending_string_includes_.push_back (data);
+}
+
 /** pop the inputstack.  conceptually this is a destructor, but it
     does not destruct the Source_file that Includable_lexer::new_input
     creates.  */