Array types

This commit is contained in:
2026-07-05 02:37:48 +02:00
parent b6256283a6
commit 13664413c5
5 changed files with 34 additions and 4 deletions
+5 -1
View File
@@ -141,8 +141,12 @@ void_type = {
"void"
}
array_type = {
"[" ~ integer? ~ "]"
}
type_expr = {
(void_type | path_type | tuple_type | dyn_type) ~ (unsafe_ref_type | ref_type | fn_type)*
(void_type | path_type | tuple_type | dyn_type) ~ (unsafe_ref_type | ref_type | fn_type | array_type)*
}
lifetime = {