Skip to content

Commit dbfb570

Browse files
committed
---
yaml --- r: 349372 b: refs/heads/master-next c: 7b07d1f h: refs/heads/master
1 parent 62ac660 commit dbfb570

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: b85892f38140deebf195733108a9bc4e3401bf29
3+
refs/heads/master-next: 7b07d1fba0e1d75213c3cff5831636bb02886fe5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/include/swift/Parse/Parser.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -807,9 +807,8 @@ class Parser {
807807
return parseToken(K, L, Diagnostic(ID, Args...));
808808
}
809809

810-
/// Parse the specified expected token and return its location
811-
/// on success. On failure, emit the specified error diagnostic, and
812-
/// a note at the specified note location.
810+
/// Parse the specified expected token and return its location on success. On failure, emit the specified
811+
/// error diagnostic, a note at the specified note location, and return the location of the previous token.
813812
bool parseMatchingToken(tok K, SourceLoc &TokLoc, Diag<> ErrorDiag,
814813
SourceLoc OtherLoc);
815814

branches/master-next/lib/Parse/Parser.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,8 @@ bool Parser::parseToken(tok K, SourceLoc &TokLoc, const Diagnostic &D) {
968968
return true;
969969
}
970970

971-
/// parseMatchingToken - Parse the specified expected token and return its
972-
/// location on success. On failure, emit the specified error diagnostic, and a
973-
/// note at the specified note location.
971+
/// Parse the specified expected token and return its location on success. On failure, emit the specified
972+
/// error diagnostic, a note at the specified note location, and return the location of the previous token.
974973
bool Parser::parseMatchingToken(tok K, SourceLoc &TokLoc, Diag<> ErrorDiag,
975974
SourceLoc OtherLoc) {
976975
Diag<> OtherNote;

0 commit comments

Comments
 (0)