@@ -25,7 +25,7 @@ hex_digit = @{ '0'..'9' | 'a'..'f' | 'A'..'F' }
// variable
-variable = ${ "$" ~ ident ~ (^"." ~ ident)* }
+variable = ${ ident ~ (^"." ~ ident)* }
ident = @{ ("_" | alpha) ~ ("_" | alpha_num)* }
alpha = _{ 'a'..'z' | 'A'..'Z' }
alpha_num = _{ alpha | '0'..'9' }
@@ -3,8 +3,8 @@
/// the expression is an OR, the whole expression is true and it makes no further sense to continue
/// evaluating
(
- $foo = 3 + 2 * 4 / 2 * 298210 + $bar
- AND 25 = 5*$five
+ foo = 3 + 2 * 4 / 2 * 298210 + bar
+ AND 25 = 5*five
)
OR false
OR 1 = 1
@@ -1 +1 @@
-$foo = 3 + 2 * 4 / 2 * 298210 + $bar AND 25 * 27 / 3/ 3 /3 = 5*$five
+foo = 3 + 2 * 4 / 2 * 298210 + bar AND 25 * 27 / 3/ 3 /3 = 5*five
-5 + 1 = $external + 1 AND 5 = $external
+5 + 1 = external + 1 AND 5 = external