Skip to content

Commit 873c483

Browse files
authored
Add parsing cstring as type (#78)
1 parent 83652a6 commit 873c483

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ impl Parser {
712712
match type_literal {
713713
"void" => Ok(Type::Void),
714714
"string" => Ok(Type::String),
715+
"cstring" => Ok(Type::CString),
715716
"number" => Ok(Type::Numeric),
716717
"vec" => Ok(Type::Vector),
717718
"fun" => Ok(Type::Function),

0 commit comments

Comments
 (0)