Fixed mod attributes

This commit is contained in:
2026-06-23 12:47:38 +02:00
parent 2f6303ba30
commit 7f7c1e2000
3 changed files with 18 additions and 4 deletions
+1 -2
View File
@@ -343,8 +343,7 @@ function_decl = {
// ======================================================
top_level = {
(attributes ~ (import | impl_for_decl | impl_decl | trait_decl | struct_decl | enum_decl | class_decl | declare_module | function_decl))
| mod_attribute
mod_attribute | (attributes ~ (import | impl_for_decl | impl_decl | trait_decl | struct_decl | enum_decl | class_decl | declare_module | function_decl))
}
// ======================================================