Blame SOURCES/323d39a2d602

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