error handling for when yyerror happens and we bounce back into create_config

with a NULL myconfig


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@206 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-02-01 09:25:22 +00:00
parent b34e8a4af3
commit 474bcfb095

View File

@ -163,6 +163,11 @@ create_config ()
return;
}
if (!myconfig) /* a parse error occurred */
{
myconfig = &defconfig;
return;
}
/* Fill the rest with defaults */
if (!myconfig->shed_user && myconfig->shed_uid == -1)
{