summaryrefslogtreecommitdiff
path: root/src/syntax/token.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-13 11:54:50 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-13 11:54:50 +0100
commit539735e668f601058c2c71a847335e17fac107e8 (patch)
tree32ce04a99fd92a089625e4abdc09d2373687f0ab /src/syntax/token.rs
parentd2ba1b705ed7a532266294aa100f19423bb07f4d (diff)
Basic let bindings 🎞
Diffstat (limited to 'src/syntax/token.rs')
-rw-r--r--src/syntax/token.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/syntax/token.rs b/src/syntax/token.rs
index 7055d61a..43415198 100644
--- a/src/syntax/token.rs
+++ b/src/syntax/token.rs
@@ -27,6 +27,8 @@ pub enum Token<'s> {
Backslash,
/// A comma: `,`.
Comma,
+ /// A semicolon: `;`.
+ Semicolon,
/// A colon: `:`.
Colon,
/// A pipe: `|`.
@@ -201,6 +203,7 @@ impl<'s> Token<'s> {
Self::Tilde => "tilde",
Self::Backslash => "backslash",
Self::Comma => "comma",
+ Self::Semicolon => "semicolon",
Self::Colon => "colon",
Self::Pipe => "pipe",
Self::Plus => "plus",