extended expression

This commit is contained in:
2026-05-17 03:49:34 +02:00
parent 33fae13c8a
commit 2a95ad4eb0
3 changed files with 57 additions and 16 deletions
+5 -1
View File
@@ -447,8 +447,12 @@ macro_inner_v = {
// PRIMARY EXPRESSIONS
// ------------------------------------------------------
expr_path_segment = {
identifier ~ ("::" ~ generics)?
}
expr_path = {
identifier ~ ("::" ~ generics)? ~ ("::" ~ identifier ~ ("::" ~ generics)?)*
expr_path_segment ~ ("::" ~ expr_path_segment)*
}
primary = {