From 8e39d9bdb30cbe2e7c3f7d9b30ac64c3a2e32684 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 12 Jan 2009 12:51:28 +0000 Subject: [PATCH] * Make Nix build with Bison 2.4. --- src/libexpr/parser.y | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y index b7624df7e8..7bafd89d88 100644 --- a/src/libexpr/parser.y +++ b/src/libexpr/parser.y @@ -25,6 +25,7 @@ #include "parser-tab.hh" #include "lexer-tab.hh" +#define YYSTYPE YYSTYPE // workaround a bug in Bison 2.4 #include "nixexpr.hh" #include "nixexpr-ast.hh"