about summary refs log tree commit diff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-01-12T12·51+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-01-12T12·51+0000
commit8e39d9bdb30cbe2e7c3f7d9b30ac64c3a2e32684 (patch)
treea7d04e82c9ad260cd51994ea2d3767e5106f0415 /src/libexpr/parser.y
parent28355dafcf49dddf707499fc99b18c5071cf8eb6 (diff)
* Make Nix build with Bison 2.4.
Diffstat (limited to 'src/libexpr/parser.y')
-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 b7624df7e8aa..7bafd89d8860 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"