aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-01-12 12:51:28 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-01-12 12:51:28 +0000
commit8e39d9bdb30cbe2e7c3f7d9b30ac64c3a2e32684 (patch)
treea7d04e82c9ad260cd51994ea2d3767e5106f0415 /src
parent28355dafcf49dddf707499fc99b18c5071cf8eb6 (diff)
* Make Nix build with Bison 2.4.
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index b7624df7e..7bafd89d8 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"