BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
7 stars 6 forks source link

Turn REM to a statement #19

Closed dhuebner closed 1 year ago

dhuebner commented 1 year ago

REM is a verb in basic and should be handled as a Statement in BBj Grammar instead of hidden lexer rule.

if x = 1 then print "1" ;  REM comment here
StephanWald commented 1 year ago

You probably already figured that out, but in a line that is concatenated with a ; everything after REM is considered as a comment. There is no "close comment block", it goes on until the next physical line.