acme/testing/cliargs/outformats.a
marcobaye 7a4237eb3c fixed two bugs, added test files, did cleanup
bug 1: in some cases "--format" could not override "!to"
bug 2: "cannot open output file" resulted in "success" exit code


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@340 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 01:11:33 +00:00

15 lines
239 B
Plaintext

!if FORMAT == 0 {
!to "test.o"
} else if FORMAT == 1 {
!to "test.o", plain
} else if FORMAT == 2 {
!to "test.o", cbm
} else if FORMAT == 3 {
!to "test.o", apple
} else {
!error "unexpected FORMAT"
}
*=$1000
lda #1
rts