?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. ; during working on advent-of-code 2020 as sjasmplus scripts, I have run into
  2. ; insufficient syntax error reporting
  3.  
  4. ; AFTER FIX: the while is not executed even once, only syntax error is reported
  5.  
  6.     DEVICE ZXSPECTRUMNEXT
  7. counter = 1
  8.     WHILE (counter < 2)) || (counter < 4)
  9.                     ;  ^ silent extra closing parenthesis - missing syntax error
  10.         nop         ; it was producing only one nop, as if the expression did end there
  11. counter = counter + 1
  12.     ENDW
  13.