]> git.donarmstrong.com Git - lilypond.git/commitdiff
* stepmake/aclocal.m4: Include compile fix for broken flex, as
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 14 Apr 2003 10:57:48 +0000 (10:57 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 14 Apr 2003 10:57:48 +0000 (10:57 +0000)
used in includable-lexer.hh.

* lily/includable-lexer.cc: Bugfix: include config.h.

ChangeLog
lily/includable-lexer.cc
stepmake/aclocal.m4

index b7cb5ea969542c30c2e3a4ae9ed7f33962803cd2..114ddd3bb3e7d3b92582a9eedb6343b39fe398af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2003-04-14  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * stepmake/aclocal.m4: Include compile fix for broken flex, as
+       used in includable-lexer.hh.
+
+       * lily/includable-lexer.cc: Bugfix: include config.h.
+
        * stepmake/aclocal.m4: Check for $GUILE_CONFIG; allows
         circumvention of Debian packaging bug.
 
index e22180aad514a6828851a67671c0236d491dfc79..929397042501302787e52ec5bb1a6edf410bda3d 100644 (file)
@@ -7,10 +7,10 @@
 */
 
 #include <sstream>
+#include "config.h"
 
-
-#include "file-path.hh"
 #include "includable-lexer.hh"
+#include "file-path.hh"
 #include "source-file.hh"
 #include "source.hh"
 #include "warn.hh"
index 1abbe7cf82291b012b0de821a9bb0a2e91a89b8f..eae65025b5ff34d90f3fe1d6b11997b7e58124fc 100644 (file)
@@ -337,6 +337,7 @@ AC_DEFUN(STEPMAKE_FLEXLEXER, [
     AC_CACHE_CHECK([for yyFlexLexer.yy_current_buffer],
        [stepmake_flexlexer_yy_current_buffer],
        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+using namespace std;
 #include <FlexLexer.h>
 class yy_flex_lexer: public yyFlexLexer
 {