immortalvm / ivm-implementations

iVM contemporary implementations
5 stars 0 forks source link

ivm as command overwrites source fil #1

Closed oleliabo closed 5 years ago

oleliabo commented 5 years ago

Doing a test assemble (OS-X v0.9):

ole$ ./ivm as ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s qs.bin qs.sym iVM Assembler and VM, version 0.9 Analyzing dependencies in ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s... Building ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s... Binary written to: ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s Symbols written to: qs.bin ole$ ll qs.* -rw-r--r-- 1 ole staff 586B Sep 2 08:54 qs.bin

It overwrites source file with binary and writes symbols to binary file.

ivar-rummelhoff commented 5 years ago

Sorry. I noticed this myself yesterday and fixed it in v0.11. I thought I would get notified of reported issues, but apparently I have to set this up myself.