[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with bison++ and YYPARSE_PARAM
From: |
Marc Zimmermann |
Subject: |
Problem with bison++ and YYPARSE_PARAM |
Date: |
Thu, 29 Jun 2006 14:51:29 +0200 |
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
- Problem with bison++ and YYPARSE_PARAM,
Marc Zimmermann <=