From 29cfef0a6dfef5820bda339d327638e285aaf4d3 Mon Sep 17 00:00:00 2001 From: Martin Haug Date: Tue, 8 Jun 2021 11:05:09 +0200 Subject: Add a grid layouter --- src/syntax/token.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/syntax/token.rs') diff --git a/src/syntax/token.rs b/src/syntax/token.rs index 56ab3dd6..26c01fbb 100644 --- a/src/syntax/token.rs +++ b/src/syntax/token.rs @@ -100,6 +100,8 @@ pub enum Token<'s> { Include, /// The `using` keyword. Using, + /// The `auto` keyword. + Auto, /// One or more whitespace characters. /// /// The contained `usize` denotes the number of newlines that were contained @@ -248,6 +250,7 @@ impl<'s> Token<'s> { Self::Import => "keyword `import`", Self::Include => "keyword `include`", Self::Using => "keyword `using`", + Self::Auto => "keyword `auto`", Self::Space(_) => "space", Self::Text(_) => "text", Self::UnicodeEscape(_) => "unicode escape sequence", -- cgit v1.2.3