$NetBSD: patch-ac,v 1.1 2003/02/04 02:42:22 dmcmahill Exp $

--- src/parser.y.orig	Fri Dec 13 11:49:50 2002
+++ src/parser.y	Mon Feb  3 21:26:01 2003
@@ -46,4 +46,16 @@
 int yydebug = 1; 
 */
+
+/* Recent version of bison expect that the user supply a
+   YYLLOC_DEFAULT macro that makes up a yylloc value from existing
+   values. I need to supply an explicit version to account for the
+   text field, that otherwise won't be copied. */
+# define YYLLOC_DEFAULT(Current, Rhs, N)         \
+  Current.first_line   = Rhs[1].first_line;      \
+  Current.first_column = Rhs[1].first_column;    \
+  Current.last_line    = Rhs[N].last_line;       \
+  Current.last_column  = Rhs[N].last_column;     \
+  Current.text         = Rhs[1].text;
+
 %}