From 67e843a36a637d74e8a9b5ffcc6c421259c2bf95 Mon Sep 17 00:00:00 2001 From: MESYETI Date: Thu, 2 May 2024 19:36:53 +0100 Subject: [PATCH] fix orphan format things --- source/backends/linux86.d | 4 ++-- source/backends/rm86.d | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/backends/linux86.d b/source/backends/linux86.d index d0dc60f..b1498a3 100644 --- a/source/backends/linux86.d +++ b/source/backends/linux86.d @@ -640,10 +640,10 @@ class BackendLinux86 : CompilerBackend { override void CompileAlias(AliasNode node) { if (node.from !in types) { - Error(node.error, "Type '%s' doesn't exist"); + Error(node.error, "Type '%s' doesn't exist", node.from); } if ((node.to in types) && !node.overwrite) { - Error(node.error, "Type '%s' already defined"); + Error(node.error, "Type '%s' already defined", node.to); } types[node.to] = types[node.from]; diff --git a/source/backends/rm86.d b/source/backends/rm86.d index 57d5b53..ad2da8c 100644 --- a/source/backends/rm86.d +++ b/source/backends/rm86.d @@ -600,10 +600,10 @@ class BackendRM86 : CompilerBackend { override void CompileAlias(AliasNode node) { if (node.from !in types) { - Error(node.error, "Type '%s' doesn't exist"); + Error(node.error, "Type '%s' doesn't exist", node.from); } if ((node.to in types) && !node.overwrite) { - Error(node.error, "Type '%s' already defined"); + Error(node.error, "Type '%s' already defined", node.to); } types[node.to] = types[node.from];