From 6fdaffb3a8b4517a3b5c1e39dc1e16649c6eb0da Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 22 Jun 2022 14:46:51 +0200 Subject: Rename `Whitespace` token to `SpaceOrTab` --- src/construct/partial_space_or_tab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/construct/partial_space_or_tab.rs') diff --git a/src/construct/partial_space_or_tab.rs b/src/construct/partial_space_or_tab.rs index 1c4b367..cbb2cf3 100644 --- a/src/construct/partial_space_or_tab.rs +++ b/src/construct/partial_space_or_tab.rs @@ -34,7 +34,7 @@ pub fn space_or_tab_opt() -> Box { /// space_or_tab_min_max ::= x*y( ' ' '\t' ) /// ``` pub fn space_or_tab_min_max(min: usize, max: usize) -> Box { - space_or_tab(TokenType::Whitespace, min, max) + space_or_tab(TokenType::SpaceOrTab, min, max) } /// Between `x` and `y` `space_or_tab`, with the given token type. -- cgit