From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306417.tru64-unix-managers.marc@archive.invalid> From: "Prof. Jeff Blessing" Date: Fri, 01 Sep 1995 19:34:52 +0000 To: tru64-unix-managers Subject: Yacc problem with 64-bit word sizes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306417 Help!, I've successfully used a grammar file with yacc on Ultrix but the same grammar does not work on alpha. The yacc tool itself runs OK but the y.tab.c prog it produces seems to think that words are 4 bytes long, not 8 bytes. I gather this because, whenever I look at the value stack the top element ($1) is always correct (ie. equal to yytext) but anything below it on the stack ($2, $3, etc.) are nulls, even when its obvious that other tokens should be there. I think that each time it pushes a new value on the stack, it thinks its doing a 4 byte write but actually is doing an 8 byte write, thus destroying the prev. top-of-stack value. It then goes to the next address (by adding 4, not 8 like it should) and pushing again, repeating the error. In short, I can never retrieve anything but the last value on the stack. Is this a known problem out there? More importantly, is there a fix that I can get ahold of fast!? Help, Jeff Blessing