[lasem] build: fix build with bison 3.0
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] build: fix build with bison 3.0
- Date: Sat, 17 Jan 2015 23:00:06 +0000 (UTC)
commit 56352689aabc30fce78ec107508e4670eba6d7e6
Author: Dominique Leuenberger <dominique-gnomezilla leuenberger net>
Date: Sat Jan 17 23:57:22 2015 +0100
build: fix build with bison 3.0
Patch based on abiword's fix.
https://bugzilla.gnome.org/show_bug.cgi?id=742867
http://bugzilla.abisource.com/show_bug.cgi?id=13593
itex2mml/itex2MML.y | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/itex2mml/itex2MML.y b/itex2mml/itex2MML.y
index 4e70786..b07e233 100644
--- a/itex2mml/itex2MML.y
+++ b/itex2mml/itex2MML.y
@@ -2,6 +2,8 @@
* itex2MML.y last modified 10/2/2010
*/
+%parse-param {char **ret_str}
+
%{
#include <stdio.h>
#include <string.h>
@@ -27,7 +29,7 @@
void (*itex2MML_error) (const char * msg) = itex2MML_default_error;
- static void yyerror (const char * s)
+ static void yyerror (char **ret_str, const char * s)
{
char * msg = itex2MML_copy3 (s, " at token ", yytext);
if (itex2MML_error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]