Fix a parser bug.

This commit is contained in:
Natalie Weizenbaum 2016-05-27 15:36:42 -07:00
parent d2a42d61ef
commit 3e61f962ac

View File

@ -279,7 +279,7 @@ class Parser {
while (true) {
var spaceExpressions = <Expression>[];
while (true) {
if (!_isExpressionStart(_scanner.peekChar())) break;
if (_scanner.isDone || !_isExpressionStart(_scanner.peekChar())) break;
spaceExpressions.add(_singleExpression());
_ignoreComments();
}