Blame SOURCES/323d39a2d602

22cb97
22cb97
# HG changeset patch
22cb97
# User Phil Thompson <phil@riverbankcomputing.com>
22cb97
# Date 1658047276 -3600
22cb97
# Node ID 323d39a2d6020e224e82f894c694add0621714ee
22cb97
# Parent  1430b279a3c90da85f2cadd97ec833deae14f446
22cb97
Fixed the instantiation of template values.
22cb97
22cb97
diff -r 1430b279a3c9 -r 323d39a2d602 sipbuild/generator/parser/instantiations.py
22cb97
--- a/sipbuild/generator/parser/instantiations.py	Sun Jun 26 10:01:41 2022 +0100
22cb97
+++ b/sipbuild/generator/parser/instantiations.py	Sun Jul 17 09:41:16 2022 +0100
22cb97
@@ -434,7 +434,8 @@
22cb97
         proto_name = proto_value.value.result.definition
22cb97
 
22cb97
         if proto_name.is_simple:
22cb97
-            i_name = ScopedName.parse(template_string(proto_name, expansions))
22cb97
+            i_name = ScopedName.parse(
22cb97
+                    template_string(proto_name.base_name, expansions))
22cb97
             i_result = Argument(type=ArgumentType.DEFINED, definition=i_name)
22cb97
             i_fcall = FunctionCall(result=i_result,
22cb97
                     args=proto_value.value.args)
22cb97