I'm not quite sure how memory allocation is working with Bison, but with the
following Grammar, my code segfaults when my execute_command function is
called from the redirect rule with an argument more than 5 char in length,
but it works fine when called from command rule. Anyone see what I am doi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey
I'm guessing were not going to debug it for you but say, GDB? But some
tips are, I take it your using LEX with this? If so say you have a
rule like identifier something like [a-zA-Z]+ thats bad rule.. but
anyways, make sure you do a string dump of
Hi Phil,
Thank you for the response and time, regarding what you said:
**GDB**
I have tried GDB, my gdb skills are weak trying to learn how to use it
better, but I am still not sure what is going on. I will include the gdb
output at the end of the email which include the verbose Bison output.
**
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey Kyle
Kyle Brandt wrote:
> Hi Phil, Thank you for the response and time, regarding what you
> said:
I probably wasn't that helpful ;)
>
> **GDB** I have tried GDB, my gdb skills are weak trying to learn
> how to use it better, but I am still not su