DCPUTeam / DCPUToolchain

[ARCHIVED] The code repository for the DCPU-16 Toolchain.
http://dcputoolcha.in/
MIT License
96 stars 14 forks source link

The new preprocessor does not handle line breaks correctly in Mac #187

Closed jdiez17 closed 11 years ago

jdiez17 commented 11 years ago
➜  DCPUToolchain git:(master) ✗ ./dtpp/dtpp asm            
! terminates input.

add a, 1    
add b, 1
set pc, 0
!

!
!
1
!!!
!!!!!!!!!!!!!
^C

Additionally, all the debugging symbols have the line number as 0.

jdiez17 commented 11 years ago

Also, line numbers should start on 1, not 0.