]> Nishi Git Mirror - gwion.git/commitdiff
:art: Introduce scope_lookup2
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 13 Apr 2020 21:13:53 +0000 (23:13 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 13 Apr 2020 21:13:53 +0000 (23:13 +0200)
include/env/nspc.h
util

index efb75b811403d5999c53051ce0483b8ed12d3e53..9ce2f4f7f09a4fc4f5010d6208188a21e3ceeeea 100644 (file)
@@ -40,7 +40,7 @@ static inline ANN A nspc_lookup_##b##1(const Nspc n, const Symbol s) {         \
 
 #define describe_lookup2(A, b)                                                 \
 static inline ANN A nspc_lookup_##b##2(const Nspc n, const Symbol s) {         \
-  return (A)scope_lookup1(n->info->b, (vtype)s);                               \
+  return (A)scope_lookup2(n->info->b, (vtype)s);                               \
 }
 
 #define describe_lookups(A, b)                                                 \
diff --git a/util b/util
index 6e4589f86c3d1021e193d8985bff3cc7379f8e44..9ec0646f90e9bbcfb9dde5b16db5b5f0e265ca42 160000 (submodule)
--- a/util
+++ b/util
@@ -1 +1 @@
-Subproject commit 6e4589f86c3d1021e193d8985bff3cc7379f8e44
+Subproject commit 9ec0646f90e9bbcfb9dde5b16db5b5f0e265ca42