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;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
crash("(DoDirective)");
|
node_error(nd, "\"%s\" unknown directive",
|
||||||
/* NOTREACHED */
|
directive->id_text);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( df = define(nd->nd_IDF, CurrentScope, kind) ) {
|
if( df = define(nd->nd_IDF, CurrentScope, kind) ) {
|
||||||
|
|
Loading…
Reference in a new issue