Le 28 avr. 09 à 20:55, Danny Backx a écrit :
On Tue, 2009-04-28 at 14:46 -0400, Joel E. Denny wrote:
On Tue, 28 Apr 2009, Danny Backx wrote:
I didn't recognize the significance of this earlier. If the token
STACKSIZE is conflicting with a system header in MacOS, perhaps a
better
fix is to
On 15 Apr 2009, at 14:41, Philip Herron wrote:
So my problems is i have a program which it would be nice to have 2
completely separate lexers only one of them needs a yacc grammar file.
It seems you have not gotten a reply.
Set the name-space prefix by 'bison --name-prefix=name' and 'flex -
Hans Aberg wrote:
On 15 Apr 2009, at 14:41, Philip Herron wrote:
So my problems is i have a program which it would be nice to have 2
completely separate lexers only one of them needs a yacc grammar file.
It seems you have not gotten a reply.
Set the name-space prefix by 'bison
Thats because you've not set up $2 properly..
Normally - you'd have something like :
%type str C
in the top section of your .y file.
along with something like :
%union {
char str[2000];
}
Now - you may be using 'int's etc - so you can add more types
Mike Aubury wrote:
Thats because you've not set up $2 properly..
Normally - you'd have something like :
%type str C
in the top section of your .y file.
along with something like :
%union {
char str[2000];
}
Now - you may be using 'int's etc - so you