Generating body

This commit is contained in:
2026-06-06 23:50:40 +02:00
parent 7229cfd9f5
commit 330beaea75
5 changed files with 82 additions and 10 deletions
+3 -1
View File
@@ -63,6 +63,8 @@ static_path = {
identifier ~ ("::" ~ identifier)*
}
unsafe_kw = { "unsafe" }
// ======================================================
// PROGRAM
// ======================================================
@@ -340,7 +342,7 @@ top_level = {
// ======================================================
block = {
"{" ~ statement_list ~ expr? ~ "}"
unsafe_kw? ~ "{" ~ statement_list ~ expr? ~ "}"
}
statement_list = {