mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 19:01:05 +01:00
Rename Parser2 to Parser, and delete the original (#2383)
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "toolchain/lexer/token_kind.h"
|
||||
#include "toolchain/parser/parse_node_kind.h"
|
||||
#include "toolchain/parser/parser2.h"
|
||||
#include "toolchain/parser/parser_impl.h"
|
||||
#include "toolchain/parser/parser.h"
|
||||
|
||||
namespace Carbon {
|
||||
|
||||
@@ -28,7 +27,7 @@ auto ParseTree::Parse(TokenizedBuffer& tokens, DiagnosticConsumer& consumer)
|
||||
TokenDiagnosticEmitter emitter(translator, consumer);
|
||||
|
||||
// Delegate to the parser.
|
||||
return Parser2::Parse(tokens, emitter);
|
||||
return Parser::Parse(tokens, emitter);
|
||||
}
|
||||
|
||||
auto ParseTree::postorder() const -> llvm::iterator_range<PostorderIterator> {
|
||||
|
||||
Reference in New Issue
Block a user