From 8c813322058007a6dc9ce6cf9b3d141bbbe2ef53 Mon Sep 17 00:00:00 2001 From: Zanie Date: Fri, 14 Jul 2023 13:15:06 -0500 Subject: [PATCH] Fix newline indentation --- parser/src/soft_keywords.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/src/soft_keywords.rs b/parser/src/soft_keywords.rs index e491bf0..95c28bd 100644 --- a/parser/src/soft_keywords.rs +++ b/parser/src/soft_keywords.rs @@ -102,7 +102,7 @@ where let mut seen_equal = false; while let Some(Ok((tok, _))) = self.underlying.peek() { match tok { - Tok::Newline => break, + Tok::Newline => break, Tok::Name { .. } | // We treat a soft keyword token following a type token as a // name to support cases like `type type = int` or `type match = int`