]> git.saurik.com Git - bison.git/blobdiff - data/bison.simple
Test and fix the #line outputs.
[bison.git] / data / bison.simple
index 87f4188dfbb4cb6a6edc6e65b1ee7de155d02abf..1648e0916062b24a2137282d5eca87d7bfd57439 100644 (file)
@@ -110,6 +110,9 @@ b4_prologue
 #endif
 
 #ifndef YYSTYPE
+m4_ifdef([b4_stype_line],
+[#line b4_stype_line "b4_filename"
+])dnl
 typedef b4_stype yystype;
 # define YYSTYPE yystype
 #endif
@@ -1161,6 +1164,9 @@ m4_if(b4_defines_flag, 0, [],
 b4_token_defines(b4_tokens)
 
 #ifndef YYSTYPE
+m4_ifdef([b4_stype_line],
+[#line b4_stype_line "b4_filename"
+])dnl
 typedef b4_stype
 yystype;
 # define YYSTYPE yystype