public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536b120
)
avoid a crash in directives
author
ceriel
<none@none>
Tue, 24 Apr 1990 14:07:07 +0000
(14:07 +0000)
committer
ceriel
<none@none>
Tue, 24 Apr 1990 14:07:07 +0000
(14:07 +0000)
lang/pc/comp/def.c
patch
|
blob
|
history
diff --git
a/lang/pc/comp/def.c
b/lang/pc/comp/def.c
index
861acc9
..
d1f3e9a
100644
(file)
--- a/
lang/pc/comp/def.c
+++ b/
lang/pc/comp/def.c
@@
-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) ) {