Commit b12b4f92 authored by Timothy Stack's avatar Timothy Stack

Complain if the event type is missing

parent be78ad7f
......@@ -1085,6 +1085,11 @@ Simulator instproc make_event {outer event} {
return {}
}
if {$cmd == {}} {
perror "Missing event type for $obj"
return
}
if {[$obj info class] == "EventGroup"} {
set cl [$obj set mytype]
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment