diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-03-22 13:19:45 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-03-22 13:19:45 -0400 |
commit | bb71a70253ae5bf91e99dcd2809471abebea1b69 (patch) | |
tree | 26c145bbdcb6ba71b2f272641439692c30a5254b /dimension/directives.rules | |
parent | ac3e97014885af00b5a2eb01df232221482db023 (diff) | |
download | dimension-bb71a70253ae5bf91e99dcd2809471abebea1b69.tar.xz |
Support logical ! operator.
Diffstat (limited to 'dimension/directives.rules')
-rw-r--r-- | dimension/directives.rules | 3 |
1 files changed, 3 insertions, 0 deletions
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); + } |