]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/includable-lexer.hh
parser.yy et al: Fix a few style issues of d8ee829c73452cc35ef17c6c22abf5b47c754c15
[lilypond.git] / lily / include / includable-lexer.hh
index 9df81461dbf1a352c16d5f74b90529ddb401a089..3c0fe8b9fa75c437aa7b0c7e62ac2dbbcabb6482 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2011 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
@@ -40,8 +40,9 @@ class Includable_lexer : public yyFlexLexer
 
 protected:
   bool close_input ();
-  vector<Source_file*> include_stack_;
+  vector<Source_file *> include_stack_;
   vector<int> char_count_stack_;
+  vector<string> pending_string_includes_;
 
 public:
 
@@ -54,9 +55,10 @@ public:
 
   Source_file *get_source_file () const;
   virtual void new_input (string s, Sources *);
-  
+
   void new_input (string name, string data, Sources *);
-  
+  void add_string_include (string data);
+
   char const *here_str0 () const;
 };