flamewing / asl-releases

Improved/bugfixed version of Alfred Arnold's The Macro Assembler AS
http://john.ccac.rwth-aachen.de:8000/as/
GNU General Public License v2.0
20 stars 2 forks source link

Improve handling of '\' in irpc #16

Closed flamewing closed 3 years ago

flamewing commented 3 years ago

It should probably be detected and replaced by '\' in most cases. This will reduce the need for stupid workarounds like this:

vtputs macro letters,clr
    irpc char,letters
        if "char\t"=="\\t"    ; <- detect backslash
            vtputc  "\\",clr
        else
            vtputc  "char",clr
        endif
    endm
    endm