Type postix gen
This commit is contained in:
@@ -75,7 +75,8 @@ while_stmt = {
|
||||
// ================= EXPRESSIONS =================
|
||||
tuple_type = { "(" ~ (type_expr ~ ("," ~ type_expr)*)? ~ ")" }
|
||||
path_type = { static_path ~ ("<" ~ (type_expr ~ ("," ~ type_expr)*)? ~ ">")? }
|
||||
type_expr = { path_type | tuple_type }
|
||||
ref_type = { "*" }
|
||||
type_expr = { (path_type | tuple_type) ~ ref_type* }
|
||||
|
||||
primary = {
|
||||
integer
|
||||
|
||||
Reference in New Issue
Block a user