diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/compiler.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index 22256e4..4c59d86 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -1484,6 +1484,7 @@ impl Compiler { Token::Identifier(x) => { self.eat(); match x.as_str() { + "void" => Ok(Type::Void), "int" => Ok(Type::Int), "float" => Ok(Type::Float), "bool" => Ok(Type::Bool), |
