1
0

組み込み関数呼び出しの修正,PRINTの解析の修正,PRINTにmutex使うようにした

This commit is contained in:
otya128
2015-07-12 13:12:07 +09:00
parent 8c140956cb
commit 60654d16e4
3 changed files with 18 additions and 4 deletions

View File

@@ -1055,7 +1055,7 @@ class Parser
//3号から厳密になって必ずいる
if(token.type == TokenType.Colon || token.type == TokenType.NewLine)
{
print.addLine();
if(addline) print.addLine();
break;
}
addline = true;
@@ -1091,12 +1091,14 @@ class Parser
if(token.type == TokenType.Semicolon)
{
addline = false;
token = lex.front();
continue;
}
if(token.type == TokenType.Comma)
{
print.addTab();
addline = false;
token = lex.front();
continue;
}
token = lex.front();