fix build error on newer ca65 revisions

This commit is contained in:
mgcaret 2020-03-22 17:31:24 -07:00
parent cbf755a4aa
commit 6207ab7428
1 changed files with 3 additions and 3 deletions

View File

@ -250,6 +250,7 @@ NUM_SYSVARS .set 0
__dstart = 0 __dstart = 0
.endif .endif
.define l_dword __dstart ; last defined word .define l_dword __dstart ; last defined word
.out .sprintf("Start of dictionary: %s",c_dict)
.endmacro .endmacro
.macro dhead link,dname,fname .macro dhead link,dname,fname
@ -328,9 +329,7 @@ NUM_SYSVARS .set 0
.endmacro .endmacro
.macro dchain dname .macro dchain dname
.ifdef l_dword .undefine l_dword
.undefine l_dword
.endif
.define l_dword dname .define l_dword dname
.endmacro .endmacro
@ -356,6 +355,7 @@ NUM_SYSVARS .set 0
.endmacro .endmacro
.macro dend .macro dend
.out .sprintf("End of dictiomnary: %s",c_dict)
.ident(.sprintf("LAST_%s",c_dict)) = l_dword .ident(.sprintf("LAST_%s",c_dict)) = l_dword
.undef c_dict .undef c_dict
.undef l_dword .undef l_dword