1
0

OUTを配列変数などに対応させた

This commit is contained in:
otya128
2016-08-31 17:53:02 +09:00
parent 191ee91edb
commit 0866fc0739
3 changed files with 7 additions and 7 deletions

View File

@@ -858,13 +858,13 @@ class Parser
while(true)
{
token = lex.front();
if(token.type != TokenType.Iden)
Expression arg = expression();
if(!isLValue(arg))
{
syntaxError();
return null;
}
wstring arg = token.value.stringValue;
func.addOut(arg);
lex.popFront();
token = lex.front();
if(token.type == TokenType.Comma)
{