Add missing operators

main
trivernis 4 months ago
parent 50b3cf41ad
commit c44b5ef6c3
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -8,7 +8,7 @@ infix_expr = {
#lhs = term ~ operator ~ #rhs = expr #lhs = term ~ operator ~ #rhs = expr
} }
operator = { "+" | "-" | "*" | "/" | "&&" | "||" } operator = { "+" | "-" | "*" | "/" | "&&" | "||" | "<" | ">" | "==" | "!=" }
ident = @{ ALPHABETIC ~ (ALPHABETIC | NUMBER | "_")* | quoted_indent } ident = @{ ALPHABETIC ~ (ALPHABETIC | NUMBER | "_")* | quoted_indent }
quoted_indent = _{ "`" ~ (!"`" ~ ANY)+ ~ "`" } quoted_indent = _{ "`" ~ (!"`" ~ ANY)+ ~ "`" }

Loading…
Cancel
Save