Commit a8c4e994 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

alive can have index redirection too.


Signed-off-by: Kristof Szabados's avatarkristof <Kristof.Szabados@ericsson.com>
parent 47d820bd
......@@ -212,6 +212,7 @@ public final class ComponentAliveExpression extends Expression_Value {
}
expression.expression.append(".alive(");
//FIXME add support for index redirection
expression.expression.append("null");
expression.expression.append(')');
}
}
......@@ -204,8 +204,8 @@ public class TitanComponent extends Base_Type {
return TTCN_Runtime.component_running(componentValue);
}
// originally alive, TODO needs index redirection support
public boolean alive() {
// originally alive
public boolean alive(final Index_Redirect index_redirection) {
if (componentValue == UNBOUND_COMPREF) {
throw new TtcnError("Performing alive operation on an unbound component reference.");
}
......
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