mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-15 00:44:05 +09:00
basic: all but 'dotest.bas' and 'blackjack.bas (as always)' are working
This commit is contained in:
@@ -27,6 +27,7 @@ bF._parseTokens = function(lnum, tokens, states) {
|
||||
bF.parserPrintdbg2('Line ', lnum, tokens, states, 0);
|
||||
|
||||
if (tokens.length !== states.length) throw lang.syntaxfehler(lnum);
|
||||
if (tokens[0].toUpperCase() == "REM" && states[0] != "qot") return;
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
(* { word } = word is repeated 0 or more times *)
|
||||
(* [ word ] = word is optional (repeated 0 or 1 times) *)
|
||||
|
||||
line = linenumber , stmt , {":" , stmt} ;
|
||||
line =
|
||||
linenumber , stmt , {":" , stmt}
|
||||
| linenumber , "REM" , ? basically anything ? ;
|
||||
linenumber = digits ;
|
||||
|
||||
stmt =
|
||||
|
||||
Reference in New Issue
Block a user