mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-11 05:31:51 +09:00
basic: fixing some unary mishaps on parser
This commit is contained in:
@@ -1706,7 +1706,7 @@ FUNCTION_CALL (type: function, value: PRINT or something)
|
||||
// @returns BasicAST
|
||||
bF._EquationIllegalTokens = ["IF","THEN","ELSE","DEFUN","ON"];
|
||||
bF.isSemanticLiteral = function(token, state) {
|
||||
return "]" == token || ")" == token ||
|
||||
return undefined == token || "]" == token || ")" == token ||
|
||||
"qot" == state || "num" == state || "bool" == state || "lit" == state;
|
||||
}
|
||||
bF.parserDoDebugPrint = true;
|
||||
|
||||
Reference in New Issue
Block a user