aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-08-04 20:59:15 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-08-04 20:59:15 -0400
commit0408f0c8d8d095267b322859e208f209edd47311 (patch)
tree40ef8a042105958e1cd1cb38415c487e90287b1f
parent204c5b9e1e870fde83b93b790d4695f478732e63 (diff)
Fix safe search function call
-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);
}