mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Cope with trailing whitespace.
This commit is contained in:
parent
3cc853c2a0
commit
02c6298ab8
@ -227,8 +227,12 @@ int main(int argc, char** argv)
|
||||
|
||||
map<string, SortPointer> variableSorts;
|
||||
BooleanLPSolver solver;
|
||||
while (!inputToParse.empty())
|
||||
while (true)
|
||||
{
|
||||
while (!inputToParse.empty() && isWhiteSpace(inputToParse.front()))
|
||||
inputToParse = inputToParse.substr(1);
|
||||
if (inputToParse.empty())
|
||||
break;
|
||||
//cout << line << endl;
|
||||
SMTLib2Parser parser(inputToParse);
|
||||
SMTLib2Expression expr = parser.parseExpression();
|
||||
|
Loading…
Reference in New Issue
Block a user