Declare that YYLSTYPE is not the default trivial datatype used by bison. (was causing compile errors in bison ver >= 2.7)
authorMario de Sousa <msousa@fe.up.pt>
Fri, 19 Jul 2013 13:31:35 +0100
changeset 823 c95f42f28b69
parent 814 a98a4dad904a
child 849 1f8885ae539a
Declare that YYLSTYPE is not the default trivial datatype used by bison. (was causing compile errors in bison ver >= 2.7)
stage1_2/iec_bison.yy
--- a/stage1_2/iec_bison.yy	Thu Apr 04 18:55:20 2013 +0100
+++ b/stage1_2/iec_bison.yy	Fri Jul 19 13:31:35 2013 +0100
@@ -276,7 +276,7 @@
     long int    last_order;
 } YYLTYPE;
 #define YYLTYPE_IS_DECLARED 1
-#define YYLTYPE_IS_TRIVIAL 1
+#define YYLTYPE_IS_TRIVIAL 0
 #endif
 
 }