mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-25 14:21:12 +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
@@ -27,7 +27,7 @@ auto Tree::Parse(Lex::TokenizedBuffer& tokens, DiagnosticConsumer& consumer,
|
||||
[&](llvm::raw_ostream& output) { context.PrintForStackDump(output); });
|
||||
|
||||
context.AddLeafNode(NodeKind::FileStart,
|
||||
context.ConsumeChecked(Lex::TokenKind::StartOfFile));
|
||||
context.ConsumeChecked(Lex::TokenKind::FileStart));
|
||||
|
||||
context.PushState(State::DeclScopeLoop);
|
||||
|
||||
|
||||
Reference in new issue
Block a user