From bb71a70253ae5bf91e99dcd2809471abebea1b69 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 22 Mar 2010 13:19:45 -0400 Subject: Support logical ! operator. --- dimension/directives.rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dimension/directives.rules') diff --git a/dimension/directives.rules b/dimension/directives.rules index f3f3e7a..a01ab9a 100644 --- a/dimension/directives.rules +++ b/dimension/directives.rules @@ -121,3 +121,6 @@ CONDITIONAL: ARITH_EXPR { | "(" CONDITIONAL ")" { $$ = $2; } + | "!" CONDITIONAL { + $$ = dmnsn_new_astnode1(DMNSN_AST_NOT, @$, $2); + } -- cgit v1.2.3