sigsegv in bison 32bit / works in 64bit.

2009-11-04 Thread gary artim
Hi -- I'm new to the list and bison. I'm running bison (linked from yacc) on Fedora. I've been trying to figure out why my code segfaults on 32 bit machines. I've tried this on linux versions of gentoo, fedora and in both cases the code segs on the 32 bit machine and runs on the 64 bit. I realize

Re: sigsegv in bison 32bit / works in 64bit.

2009-11-04 Thread gary artim
ok, I can do that, but it seem to be in the interplay of what is parsed and my code. for example my rules are: list: /* nothing */ | list '\n' | list asgn '\n'{ code2(pop, STOP); return 1; } | list expr '\n'{ code2(print, STOP); return 1; }