1
0

Fix PRINT parser

This commit is contained in:
otya128
2017-07-09 21:39:47 +09:00
parent d452caf17f
commit f43d22a298

View File

@@ -1745,7 +1745,9 @@ class Parser
while(true) while(true)
{ {
//3号から厳密になって必ずいる //3号から厳密になって必ずいる
if(token.type == TokenType.Colon || token.type == TokenType.NewLine) if(token.type == TokenType.Colon || token.type == TokenType.NewLine ||
token.type == TokenType.Else || token.type == TokenType.Endif ||
token.type == TokenType.Elseif || token.type == TokenType.Print)
{ {
if(addline) print.addLine(); if(addline) print.addLine();
break; break;