SOURCES: seedit-bison.patch (NEW) - fix actual YYSTYPE
qboosh
qboosh at pld-linux.org
Sun Jul 8 21:44:42 CEST 2007
Author: qboosh Date: Sun Jul 8 19:44:42 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix actual YYSTYPE
---- Files affected:
SOURCES:
seedit-bison.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/seedit-bison.patch
diff -u /dev/null SOURCES/seedit-bison.patch:1.1
--- /dev/null Sun Jul 8 21:44:42 2007
+++ SOURCES/seedit-bison.patch Sun Jul 8 21:44:37 2007
@@ -0,0 +1,22 @@
+--- seedit-2.1.2/core/lib/middle_lang.l.orig 2007-05-24 05:37:51.000000000 +0200
++++ seedit-2.1.2/core/lib/middle_lang.l 2007-07-08 21:07:52.940290369 +0200
+@@ -26,15 +26,15 @@
+ %option nounput
+
+ %{
++#ifndef YYSTYPE
++#define YYSTYPE char *
++#endif
++
+ #include <stdio.h>
+ #include <string.h>
+ #include "y.tab.h"
+ #include <seedit/common.h>
+
+-#ifndef YYSTYPE
+-#define YYSTYPE char *
+-#endif
+-
+ extern YYSTYPE yylval;
+ /*To handle comment*/
+ char **yycomment = NULL; /*NULL terminated array that stores comments*/
================================================================
More information about the pld-cvs-commit
mailing list