From 7beb497d3aba7cd1bb34f2b1394bde80c1cd9807 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Thu, 28 Dec 2017 13:23:44 +0100 Subject: Uppercase MACRO and EQU(S) according to the style guide --- macros/enum.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macros/enum.asm') diff --git a/macros/enum.asm b/macros/enum.asm index 933f7b183..3f7770ace 100644 --- a/macros/enum.asm +++ b/macros/enum.asm @@ -1,6 +1,6 @@ ; Enumerate variables -enum_start: macro +enum_start: MACRO if _NARG >= 1 __enum__ = \1 else @@ -13,12 +13,12 @@ __enumdir__ = +1 endc endm -enum: macro +enum: MACRO \1 = __enum__ __enum__ = __enum__ + __enumdir__ endm -enum_set: macro +enum_set: MACRO __enum__ = \1 endm -- cgit v1.2.3 From 50fc9c3389ae8130d3670683f22f3e49555c57a3 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Thu, 28 Dec 2017 22:31:16 +0100 Subject: endm -> ENDM --- macros/enum.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macros/enum.asm') diff --git a/macros/enum.asm b/macros/enum.asm index 3f7770ace..0c1d4a064 100644 --- a/macros/enum.asm +++ b/macros/enum.asm @@ -11,16 +11,16 @@ __enumdir__ = \2 else __enumdir__ = +1 endc -endm +ENDM enum: MACRO \1 = __enum__ __enum__ = __enum__ + __enumdir__ -endm +ENDM enum_set: MACRO __enum__ = \1 -endm +ENDM ; Enumerate constants -- cgit v1.2.3