The scope of real values needs to be calculated.
Finding the scope of a real value is no longer simple, so it must be calculated.
This commit is contained in:
parent
2c7fe8aa2a
commit
7ac35e478b
|
|
@ -45,7 +45,7 @@ static int real_var_get(int code, vpiHandle ref)
|
||||||
return 0; // Not implemented for now!
|
return 0; // Not implemented for now!
|
||||||
|
|
||||||
case vpiAutomatic:
|
case vpiAutomatic:
|
||||||
return (int) rfp->scope->is_automatic;
|
return (int) vpip_scope(rfp)->is_automatic;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue