Skip to content

Commit

Permalink
Add parsing cstring as type (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarkonik authored Aug 14, 2022
1 parent 83652a6 commit 873c483
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ impl Parser {
match type_literal {
"void" => Ok(Type::Void),
"string" => Ok(Type::String),
"cstring" => Ok(Type::CString),
"number" => Ok(Type::Numeric),
"vec" => Ok(Type::Vector),
"fun" => Ok(Type::Function),
Expand Down

0 comments on commit 873c483

Please sign in to comment.