Commit 922fa848 authored by Victor Yacovlev's avatar Victor Yacovlev

Changed rule on split line into statements for 'input' and 'output'

parent d0390ac0
......@@ -1224,7 +1224,7 @@ void popInputStatement(QList<Lexem*> &lexems, Statement &result)
result.type = lexems[0]->type;
result.data << lexems[0];
lexems.pop_front();
popLexemsUntilPrimaryKeywordOrVarDecl(lexems, result);
popLexemsUntilPrimaryKeyword(lexems, result);
}
void popOutputStatement(QList<Lexem*> &lexems, Statement &result)
......@@ -1232,7 +1232,7 @@ void popOutputStatement(QList<Lexem*> &lexems, Statement &result)
result.type = lexems[0]->type;
result.data << lexems[0];
lexems.pop_front();
popLexemsUntilPrimaryKeywordOrVarDecl(lexems, result);
popLexemsUntilPrimaryKeyword(lexems, result);
}
void popFinputStatement(QList<Lexem*> &lexems, Statement &result)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment