Hi,

I just patched glr.c skeleton because it generates header without guards.
I attached the patch.

Thank you for bison.

-- 
Alexandre Bique ([email protected])
--- glr.c-bad	2009-01-17 02:20:56.000000000 +0100
+++ glr.c-good	2009-01-17 02:22:49.000000000 +0100
@@ -2640,7 +2640,8 @@
 [...@output(b4_spec_defines_file@)
 b4_copyright([Skeleton interface for Bison GLR parsers in C],
   [2002, 2003, 2004, 2005, 2006])
-
+#ifndef PARSER_HEADER_H
+# define PARSER_HEADER_H
 b4_shared_declarations
 
 b4_pure_if([],
@@ -2650,4 +2651,6 @@
 [extern YYLTYPE ]b4_prefix[lloc;])
 ])
 ])])
+#endif /* !PARSER_HEADER_H */
 m4_divert_pop(0)
+

Reply via email to