Commit 2fd1b961 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Fixed segmentation fault caused by previous commit (bug 568714)


Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
Change-Id: I2e496a10b67c3ddb556a7a998e55fb4a217f9970
parent a12f9496
......@@ -10270,6 +10270,7 @@ namespace Ttcn {
pars_m.add(name, par);
if (parent_scope && parent_scope->has_ass_withId(id)) {
Reference ref(0, id.clone());
ref.set_my_scope(this);
Common::Assignment *ass = parent_scope->get_ass_bySRef(&ref);
if (!ass) FATAL_ERROR("FormalParList::chk()");
if (parent_scope->get_scope_class() == NULL ||
......
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