aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pc.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/pc.y b/pc.y
index 54e4ede..92a1f0c 100644
--- a/pc.y
+++ b/pc.y
@@ -260,12 +260,12 @@ TD: TO | DT;
var
:ID
{
- $$ = mkid(scope_safe_search_all(cur_scope,$1));
+ $$ = mkid(scope_safe_search(cur_scope,$1));
}
|ID '[' expr ']'
{
node* tmp;
- tmp = scope_safe_search_all(cur_scope, $1);
+ tmp = scope_safe_search(cur_scope, $1);
$$ = mktree(ARRAY_ACCESS, mkid(tmp), $3);
}