Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error: Syntax error. Unexpected end of line [NEWLINE]
#2
On line #147, it reads:
Code:
samptrs:
          ld      hl, 8481
          add      hl, de
          ld      e, (hl)
          inc      hl
          ld      d, (hl)

    modaddr
          ld      hl, 8481
          add      hl, de
          ld      (ix + 3), l
          ld      (ix + 4), h
          jr      pd_loop
Label modaddr lacks a colon at the end.

Note: It also happens in other places, like here:
Code:
c_vibrt:
          ld      a, (bc)
          inc      bc
          ld      (ix - 1), a
          ld      (ix - 2), a
          ld      a, (bc)
          inc      bc
          ld      (ix + 0), a
          xor      a
          ld      (ix - 7), a
          ld      (ix - 6), a
          ld      (ix - 5), a
          ret

    c_engls                      <--- lacks colon
          ld      a, (bc)
          inc      bc
          ld      (env_del + 1), a
          ld      (curedel), a
          ld      a, (bc)

and here:

Code:
pd_res:
        ld      (pdsp_ + 1), sp
        ld      sp, ix
        ld      h, a
        ld      l, a
        push   hl
        push   hl
        push   hl
        push   hl
        push   hl
        push   hl
        pdsp_
        ld      sp, 12593
pd_fin:
        ld      a, (ix + 5)
        ld      (ix + 15), a
        ret
(pdsp_ lacks a colon)

ZXB asm does not allow labels without an ending colon yet. But support for this is planned
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)