zasm: avoid ';' literal
Simplifies comment stripping through sed.
This commit is contained in:
parent
a3d3e0ce37
commit
ae2187ad06
@ -180,7 +180,7 @@ gotoNextLine:
|
|||||||
jr z, .eof
|
jr z, .eof
|
||||||
call isLineEnd
|
call isLineEnd
|
||||||
jr z, .loop3 ; good!
|
jr z, .loop3 ; good!
|
||||||
cp ';'
|
cp 0x3b ; ';'
|
||||||
jr z, .loop2 ; comment starting, go to "fast lane"
|
jr z, .loop2 ; comment starting, go to "fast lane"
|
||||||
jr .loop1
|
jr .loop1
|
||||||
.loop2:
|
.loop2:
|
||||||
@ -201,7 +201,7 @@ gotoNextLine:
|
|||||||
call ioGetC
|
call ioGetC
|
||||||
or a ; cp 0
|
or a ; cp 0
|
||||||
jr z, .eof
|
jr z, .eof
|
||||||
cp ';'
|
cp 0x3b ; ';'
|
||||||
jr z, .loop2 ; oh, another comment! go back to loop2!
|
jr z, .loop2 ; oh, another comment! go back to loop2!
|
||||||
call isSepOrLineEnd
|
call isSepOrLineEnd
|
||||||
jr z, .loop3
|
jr z, .loop3
|
||||||
|
Loading…
Reference in New Issue
Block a user