Dmitri Hrybenko
caabe782e4
Parser: when recovering from an incomplete 'for' statement, don't set the
...
source location of synthesized AST nodes to point to EOF. This causes the
source range to span more tokens than the parent node does.
rdar://17630645
Swift SVN r21282
2014-08-19 15:56:52 +00:00
Ted Kremenek
fad874708e
Adjust test cases.
...
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Argyrios Kyrtzidis
8758451a43
[Parser/IDE] Introduce ide::isSourceInputComplete() which returns true if the input source is fully formed,
...
or false if, for example, a closing brace is missing.
This is useful for the REPL.
rdar://15948039
Swift SVN r13313
2014-02-02 03:14:33 +00:00