diff options
| author | Martin Haug <mhaug@live.de> | 2021-06-08 11:05:09 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-09 22:44:40 +0200 |
| commit | 29cfef0a6dfef5820bda339d327638e285aaf4d3 (patch) | |
| tree | 7a2e16b4c97d4259da1eb63deaa716b620feb4df /src/syntax/token.rs | |
| parent | 73fa2eda2c23bd3baeb9e22b99eb0bfb183fc638 (diff) | |
Add a grid layouter
Diffstat (limited to 'src/syntax/token.rs')
| -rw-r--r-- | src/syntax/token.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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", |
