help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with bison++ and YYPARSE_PARAM


From: Hans Aberg
Subject: Re: Problem with bison++ and YYPARSE_PARAM
Date: Fri, 30 Jun 2006 19:35:05 +0200

This is the Help-Bison list. Bison++ is a different program

  Hans Aberg


On 29 Jun 2006, at 14:51, Marc Zimmermann wrote:

Hi,

have the following problem. I want to
send a char * to the yyparse() function.
But it don't work.

My grammar file looks like that:

parser.y

%{
   struct parm {char* data;};
   #define YYPARSE_PARAM parm;
%}

....


From other classes i can only call yyparse without an argument.
Must I do more than declare YYPARSE_PARAM ?

Thanks very much in advance

Marc




_______________________________________________
address@hidden http://lists.gnu.org/mailman/listinfo/help-bison





reply via email to

[Prev in Thread] Current Thread [Next in Thread]