itex2MML.y
authorDebian QA Group <packages@qa.debian.org>
Thu, 4 Dec 2014 22:00:10 +0000 (22:00 +0000)
committerEdward Betts <edward@4angle.com>
Thu, 4 Dec 2014 22:00:10 +0000 (22:00 +0000)
Gbp-Pq: Name itex2MML.y.patch

plugins/mathview/itex2mml/itex2MML.y

index 4bbd2cbfcb997163a11b9b95301917f82f3decbf..c4e1cc58d77aafdee865b724bc7a4a6be0b9fd61 100644 (file)
@@ -2,6 +2,8 @@
  *   itex2MML.y last modified 9/21/2011
  */
 
+%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 (char * s)
+ static void yyerror (char **ret_str, char * s)
    {
      char * msg = itex2MML_copy3 (s, " at token ", yytext);
      if (itex2MML_error)