Skip to content

Commit 6e6f553

Browse files
committed
Fix egregious typo in swift-syntax-test
NFC.
1 parent e6a85f6 commit 6e6f553

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/swift-syntax-test/swift-syntax-test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ using namespace swift;
3636
using llvm::StringRef;
3737

3838
enum class ActionType {
39-
DumpTokenSyntaxs,
39+
DumpTokenSyntax,
4040
FullLexRoundTrip,
4141
FullParseRoundTrip,
4242
None
@@ -47,7 +47,7 @@ static llvm::cl::opt<ActionType>
4747
Action(llvm::cl::desc("Action (required):"),
4848
llvm::cl::init(ActionType::None),
4949
llvm::cl::values(
50-
clEnumValN(ActionType::DumpTokenSyntaxs,
50+
clEnumValN(ActionType::DumpTokenSyntax,
5151
"dump-full-tokens",
5252
"Lex the source file and dump the tokens "
5353
"and their absolute line/column locations"),
@@ -220,7 +220,7 @@ int main(int argc, char *argv[]) {
220220
}
221221

222222
switch (options::Action) {
223-
case ActionType::DumpTokenSyntaxs:
223+
case ActionType::DumpTokenSyntax:
224224
ExitCode = doDumpTokenSyntax(options::InputSourceFilename);
225225
break;
226226
case ActionType::FullLexRoundTrip:

0 commit comments

Comments
 (0)