Align on FileStart/FileEnd for naming. (#3428)

The lexer has been using EndOfFile form (stemming from EOF), parser went
to FileEnd form. This consolidates on FileEnd form.
This commit is contained in:
Jon Ross-Perkins
2023-11-29 16:36:57 +00:00
committed by GitHub
parent 239f8030a4
commit 3f208e27f9
28 changed files with 147 additions and 149 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ auto HandleDeclScopeLoop(Context& context) -> void {
auto position_kind = context.PositionKind();
switch (position_kind) {
case Lex::TokenKind::CloseCurlyBrace:
case Lex::TokenKind::EndOfFile: {
case Lex::TokenKind::FileEnd: {
// This is the end of the scope, so the loop state ends.
context.PopAndDiscardState();
return;