ruby: slicc: set sender, receiver clock objs for optional queue
This commit is contained in:
parent
e85b556d70
commit
b2c8c50f17
1 changed files with 3 additions and 0 deletions
|
@ -590,6 +590,9 @@ $c_ident::init()
|
||||||
code('$vid->setReceiver(this);')
|
code('$vid->setReceiver(this);')
|
||||||
elif vtype.c_ident == "TimerTable":
|
elif vtype.c_ident == "TimerTable":
|
||||||
code('$vid->setClockObj(this);')
|
code('$vid->setClockObj(this);')
|
||||||
|
elif var.ident.find("optionalQueue") >= 0:
|
||||||
|
code('$vid->setSender(this);')
|
||||||
|
code('$vid->setReceiver(this);')
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Network port object
|
# Network port object
|
||||||
|
|
Loading…
Reference in a new issue