]> git.donarmstrong.com Git - lilypond.git/commitdiff
coding style nit
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 2 Jan 2007 21:11:16 +0000 (22:11 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 2 Jan 2007 21:11:16 +0000 (22:11 +0100)
lily/includable-lexer.cc
lily/include/includable-lexer.hh
lily/lily-lexer.cc

index 65bea4d00b25973378509c0978fb8a3530024be3..0668b91d81e8e14e24e080f52e69b2b9e790aa4d 100644 (file)
@@ -41,14 +41,14 @@ Includable_lexer::Includable_lexer ()
 #if HAVE_FLEXLEXER_YY_CURRENT_BUFFER
   yy_current_buffer = 0;
 #endif
-  allow_includes_b_ = true;
+  allow_includes_ = true;
 }
 
 /** Set the new input file to NAME, remember old file.  */
 void
 Includable_lexer::new_input (string name, Sources *sources)
 {
-  if (!allow_includes_b_)
+  if (!allow_includes_)
     {
       LexerError (_ ("include files are not allowed in safe mode").c_str ());
       return;
index 5f03e978548579351b15ebb57f1eeb6ff43dd014..4b992b8714324a8f58e07b198dc2a11f5f1b928a 100644 (file)
@@ -33,7 +33,7 @@ protected:
   vector<int> char_count_stack_;
 
 public:
-  bool allow_includes_b_;
+  bool allow_includes_;
 
   Includable_lexer ();
   ~Includable_lexer ();
index 8d70783cb5989da22c5eede795ac94bcf6f72cc3..72e8bb866193534e25bd395962d2a95491e7bb12 100644 (file)
@@ -232,7 +232,7 @@ Lily_lexer::start_main_input ()
   new_input (main_input_name_, sources_);
 
   /* Do not allow \include in --safe-mode */
-  allow_includes_b_ = allow_includes_b_ && !be_safe_global;
+  allow_includes_ = allow_includes_ && !be_safe_global;
 
   scm_module_define (scm_car (scopes_),
                     ly_symbol2scm ("input-file-name"),