Dotneteer / spectnetide

ZX Spectrum IDE with Visual Studio 2017 and 2019 integration
MIT License
205 stars 27 forks source link

Labels with dots in ASM break zx basic compilation #205

Closed gusmanb closed 3 years ago

gusmanb commented 4 years ago

After updating to version 1.13.1 of ZX Basic Spectnetide isn't able to compile the resulting assembler, two labels with dots break it.

The offending lines:

ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_END - ZXBASIC_USER_DATA
    .__LABEL__.ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_LEN
    .__LABEL__.ZXBASIC_USER_DATA EQU ZXBASIC_USER_DATA

Reported error: Z0100: Unexpected token: '.'

Dotneteer commented 3 years ago

Fixed, will be released in the next preview.

Dotneteer commented 3 years ago

As I do not know when I will be able to release the next preview, here I send you a private build with the fix. Observe, SpectNetIDE now uses the ZXBC.EXE instead of ZXB.EXE. (Rename the .zip to .vsix before installing it!)

Spect.Net.VsPackage.zip

gusmanb commented 3 years ago

Tested, works perfectly.

Closing the issue.