Merge pull request #2763 from kugelfuhr/kugelfuhr/fix-534

Make the scrcode macros handle identifiers
This commit is contained in:
Bob Andrews
2025-07-01 21:38:05 +02:00
committed by GitHub
3 changed files with 18 additions and 0 deletions

View File

@@ -36,6 +36,12 @@
; Just output the character
_scrcode arg1
; Check for an identifier
.elseif .match (.left (1, {arg1}), identifier)
; Just output the identifier
_scrcode arg1
; Anything else is an error
.else

View File

@@ -46,6 +46,12 @@
; Just output the character
_scrcode arg1
; Check for an identifier
.elseif .match (.left (1, {arg1}), identifier)
; Just output the identifier
_scrcode arg1
; Anything else is an error
.else

View File

@@ -40,6 +40,12 @@
; Just output the character
_scrcode arg1
; Check for an identifier
.elseif .match (.left (1, {arg1}), identifier)
; Just output the identifier
_scrcode arg1
; Anything else is an error
.else
.error "scrcode: invalid argument type"