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




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



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

Reply via email to