nurpax / c64jasm

C64 6502 assembler in TypeScript
51 stars 14 forks source link

parser bug in member #26

Closed nurpax closed 5 years ago

nurpax commented 5 years ago

This doesn't compile, errors out with a syntax error:

    !let numSprites = s.numSprites
    !byte s.numFrames * s.numSprites * 2

This can be worked around with:

    !let numSprites = s.numSprites
    !byte s.numFrames * numSprites  ; * s.numSprites * 2