From 0b23bc6179b7a8e6c8664374d7d6f66fe9c9bdcb Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Fri, 20 Jan 2023 12:25:38 +0000 Subject: add PPCError error code enum --- compiler_and_linker/unsorted/FuncLevelAsmPPC.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'compiler_and_linker/unsorted/FuncLevelAsmPPC.c') diff --git a/compiler_and_linker/unsorted/FuncLevelAsmPPC.c b/compiler_and_linker/unsorted/FuncLevelAsmPPC.c index 8b45459..27528b8 100644 --- a/compiler_and_linker/unsorted/FuncLevelAsmPPC.c +++ b/compiler_and_linker/unsorted/FuncLevelAsmPPC.c @@ -191,7 +191,7 @@ void Assembler(Object *func) { CodeGen_InitialSanityCheck(); if (func->qual & Q_INLINE) - PPCError_Warning(173); + PPCError_Warning(PPCErrorStr173); CheckCLabels(); @@ -265,7 +265,7 @@ void Assembler(Object *func) { FuncAsm_AddEntryPoint(stmt, pclastblock); } else if (ia->opcode == IADirective_FrFree) { if (flag16) - PPCError_Error(188); + PPCError_Error(PPCErrorStr188); else flag16 = 1; @@ -362,11 +362,11 @@ void Assembler(Object *func) { if (!asm_alloc_flags[1] && needs_frame()) { if (asm_alloc_flags[3]) { if (!asm_alloc_flags[5] || !asm_alloc_flags[6]) - PPCError_Warning(187, "blr"); + PPCError_Warning(PPCErrorStr187, "blr"); if (asm_alloc_flags[8]) - PPCError_Warning(186); + PPCError_Warning(PPCErrorStr186); } else { - PPCError_Warning(185, "blr"); + PPCError_Warning(PPCErrorStr185, "blr"); } } -- cgit v1.2.3