Made asma line numbers start at zero, not one

This commit is contained in:
Andrew Alderwick 2021-10-07 18:17:11 +01:00
parent d363aad7b5
commit 532c1959dc
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@
) )
@asma-assemble-file-pass ( filename-ptr* -- ) @asma-assemble-file-pass ( filename-ptr* -- )
;asma-assemble-chunk #0001 ROT2 ( func* line^ filename* ) ;asma-assemble-chunk #0000 ROT2 ( func* line^ filename* )
;asma-read-buffer DUP2 ;asma-read-buffer/end ROT2 SUB2 ( func* line^ filename* buf* size^ ) ;asma-read-buffer DUP2 ;asma-read-buffer/end ROT2 SUB2 ( func* line^ filename* buf* size^ )
ROT2 ( func* line^ buf* size^ filename* ) ROT2 ( func* line^ buf* size^ filename* )
,file-read-chunks JSR ,file-read-chunks JSR