tuple type parsing
This commit is contained in:
@@ -73,7 +73,8 @@ while_stmt = {
|
||||
}
|
||||
|
||||
// ================= EXPRESSIONS =================
|
||||
type_expr = { static_path }
|
||||
tuple_type = { "(" ~ (type_expr ~ ("," ~ type_expr)*)? ~ ")" }
|
||||
type_expr = { (static_path ~ ("<" ~ type_expr ~ ">")?) | tuple_type }
|
||||
|
||||
primary = {
|
||||
integer
|
||||
|
||||
Reference in New Issue
Block a user