mirror of
https://github.com/fachat/xa65.git
synced 2025-04-08 18:37:12 +00:00
fix escape char tests, wrong fallthrough for params
This commit is contained in:
parent
beb55ab9ef
commit
b0ef07addc
@ -240,6 +240,7 @@ int main(int argc,char *argv[])
|
||||
fprintf(stderr, "Compatibility set '%s' unknown - ignoring! (check case?)\n", name);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'S':
|
||||
ppinstr = 1; /* preprocessor substitution in strings ok */
|
||||
fprintf(stderr, "Warning: -S is deprecated and will be removed in 2.4+!\n");
|
||||
|
@ -1,33 +1,28 @@
|
||||
|
||||
// this tests the double-slash quote in lines with various disturbances...
|
||||
; this tests the double-slash quote in lines with various disturbances...
|
||||
|
||||
lda #1 // test1
|
||||
lda #1 ; test1
|
||||
|
||||
lda #2/1 // test2 with a constant division
|
||||
lda #2/1 ; test2 with a constant division
|
||||
|
||||
lda #3*2 // test3 with multi
|
||||
lda #3*2 ; test3 with multi
|
||||
|
||||
lda #4<<1 // test with shift left
|
||||
lda #4>>1 // test with shift right
|
||||
lda #4<<1 ; test with shift left
|
||||
lda #4>>1 ; test with shift right
|
||||
|
||||
lda #"/" // test with quotes
|
||||
lda #"/" ; test with quotes
|
||||
|
||||
lda #'/' // test with single quotes
|
||||
lda #'/' ; test with single quotes
|
||||
|
||||
.byt "/", "/", '/' // test with multiple quotes
|
||||
.byt "/", "/", '/' ; test with multiple quotes
|
||||
|
||||
; test with comments in quotes
|
||||
.byt "//" // test with comment in quotes
|
||||
.byt "//" ; test with comment in quotes
|
||||
|
||||
; tests with escaped and quoted quotes
|
||||
.byt "^"" ; test xa65 specific escape code
|
||||
.byt "^"" // test
|
||||
|
||||
.byt '"' ; test xa65 specific escape code
|
||||
.byt '"' // test
|
||||
.byt '"' ; test
|
||||
|
||||
.byt "'" ; test xa65 specific escape code
|
||||
.byt "'" // test
|
||||
.byt "'" ; test
|
||||
|
||||
.byt '^'' ; test xa65 specific escape code
|
||||
.byt '^'' // test
|
||||
|
@ -1 +1 @@
|
||||
ゥゥゥゥゥゥ/ゥ//////""""''''
|
||||
ゥゥゥゥゥゥ/ゥ//////""''
|
Loading…
x
Reference in New Issue
Block a user