$OpenBSD: patch-src_rclex_l,v 1.3 2015/11/12 10:11:50 sthen Exp $

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/wm/golem/patches/patch-aj?rev=1.1&content-type=text/x-cvsweb-markup

--- src/rclex.l.orig	Sun Nov  8 13:58:46 2015
+++ src/rclex.l	Sun Nov  8 13:59:52 2015
@@ -134,7 +134,11 @@ static int rclex_includef(FILE *file, char *incfile,
 	inside_forplug = forplug;
 	yyin = file;
 	yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE));
-	BEGIN(INITIAL);
+#ifndef INITIAL	/* hack; flex docs say INITIAL === 0 */
+	BEGIN(0);
+#else
+ 	BEGIN(INITIAL);
+#endif
 
 	return 0;
 }
