lib/turmali/grammar.y in turmali-0.0.4 vs lib/turmali/grammar.y in turmali-0.0.5

- old
+ new

@@ -153,9 +153,10 @@ | Expression '<=' Expression { result = CallNode.new(val[0], val[1], [val[2]]) } | Expression '+' Expression { result = CallNode.new(val[0], val[1], [val[2]]) } | Expression '-' Expression { result = CallNode.new(val[0], val[1], [val[2]]) } | Expression '*' Expression { result = CallNode.new(val[0], val[1], [val[2]]) } | Expression '/' Expression { result = CallNode.new(val[0], val[1], [val[2]]) } + | '!' Expression { result = CallNode.new(val[1], val[0], []) } ; # Then we have rules for getting and setting values of constants and local variables. GetConstant: CONSTANT { result = GetConstantNode.new(val[0]) } \ No newline at end of file