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:
Cary R 2008-10-30 09:23:23 -07:00 committed by Stephen Williams
parent 2c7fe8aa2a
commit 7ac35e478b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ static int real_var_get(int code, vpiHandle ref)
return 0; // Not implemented for now!
case vpiAutomatic:
return (int) rfp->scope->is_automatic;
return (int) vpip_scope(rfp)->is_automatic;
}
return 0;