mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 08:58:29 +00:00
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:
1 parent
239f8030a4
commit
3f208e27f9
28 files changed
+147
-149
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user