Merge pull request #2763 from kugelfuhr/kugelfuhr/fix-534
Make the scrcode macros handle identifiers
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user