mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Parse] Make PersistentParserState to hold ParserPosition
instead of PersistentParserState::ParserPos.
This commit is contained in:
@@ -270,7 +270,7 @@ bool Parser::parseTopLevel() {
|
||||
|
||||
// Next time start relexing from the beginning of the comment so that we can
|
||||
// attach it to the token.
|
||||
State->markParserPosition(Tok.getCommentRange().getStart(), PreviousLoc,
|
||||
State->markParserPosition(getParserPosition(),
|
||||
InPoundLineEnvironment);
|
||||
|
||||
// If we are done parsing the whole file, finalize the token receiver.
|
||||
|
||||
Reference in New Issue
Block a user