From c0cb2438d59698e957b3e69857ad0d6f85d636ce Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Wed, 28 Jun 2023 23:17:59 +0200 Subject: [PATCH] 1-letter symbols now also prefixed with 'p8p_' to avoid assembly errors caused by confusing variable 'a' with register 'a' etc. --- .../astprocessing/AsmInstructionNamesFinder.kt | 10 +++++----- .../astprocessing/AsmInstructionNamesReplacer.kt | 4 ++-- docs/source/technical.rst | 13 +++++++------ docs/source/todo.rst | 4 ++++ 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/compiler/src/prog8/compiler/astprocessing/AsmInstructionNamesFinder.kt b/compiler/src/prog8/compiler/astprocessing/AsmInstructionNamesFinder.kt index e5dc4ac06..1e67b44f0 100644 --- a/compiler/src/prog8/compiler/astprocessing/AsmInstructionNamesFinder.kt +++ b/compiler/src/prog8/compiler/astprocessing/AsmInstructionNamesFinder.kt @@ -15,33 +15,33 @@ class AsmInstructionNamesFinder(val target: ICompilationTarget): IAstVisitor { val labels = mutableSetOf