Prefix dereferences as lvalues

This commit is contained in:
2023-08-13 19:29:50 -05:00
parent 190ceb5f13
commit 1de091f269
4 changed files with 87 additions and 54 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ string_inner = ${ !("\"" | "\\") ~ ANY | escape }
string = ${ "\"" ~ string_inner* ~ "\"" }
assignment = { lvalue ~ "=" ~ rvalue }
lvalue = { name ~ (modifier)* }
lvalue = { (name ~ (modifier)*) | ("*" ~ expr) }
rvalue = { expr | string }
add = { "+" }