>I've got a hard failure with a particular input sequence,
>easily reproducible. Thing is, it looks ok to my
>visual inspection, and the execution context looks ok
>right up until it SEGVs with a null pointer. Thing is,
>I'm trying to find where the pointer should be set, and
>it looks like it may be in a stack frame identified as
>"yyparse()" which gdb says is in the yacc input source.
>I've been unable to find that function anywhere, and I'm
>hoping someone on this list might be able to help me.
>Anyone able to give me a lifeline, please?
If you're using genuine yacc then look for a file
called yaccpar that probably lives in /usr/lib.
If you're using bison the analogous files are
bison.hairy and bison.simple and they often live
in /usr/share
The files in question are basically include files by
another name and are simply copied into the generated
parser sourcecode.
Regards,
---------------------------------
Michael O'Donnell [EMAIL PROTECTED]
---------------------------------
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************