avoid a crash in directives
This commit is contained in:
parent
536b12010f
commit
8fe53f501f
|
@ -142,8 +142,9 @@ DoDirective(directive, nd, tp, scl, function)
|
|||
break;
|
||||
|
||||
default:
|
||||
crash("(DoDirective)");
|
||||
/* NOTREACHED */
|
||||
node_error(nd, "\"%s\" unknown directive",
|
||||
directive->id_text);
|
||||
return;
|
||||
}
|
||||
|
||||
if( df = define(nd->nd_IDF, CurrentScope, kind) ) {
|
||||
|
|
Loading…
Reference in a new issue