avoid a crash in directives
This commit is contained in:
parent
193a4a5845
commit
5208b6f8ad
@ -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…
x
Reference in New Issue
Block a user