diff options
author | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-04-19 00:15:34 +0000 |
---|---|---|
committer | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-04-19 00:15:34 +0000 |
commit | 8ec8f29055a8e2da158db1ec25c2b74e5e0018c4 (patch) | |
tree | f2747e39ef86f51cd9583132fa485bf18a012285 /src/include | |
parent | 0dd92f77b121ccd82a0d406fa2fe42157ccad060 (diff) |
expand expression language, add error checking, and more documentation
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4804 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/utili_Expression.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/utili_Expression.h b/src/include/utili_Expression.h index ad3d491c..cdd473fc 100644 --- a/src/include/utili_Expression.h +++ b/src/include/utili_Expression.h @@ -19,6 +19,7 @@ extern "C" /* Defined operators */ typedef enum {OP_NONE, OP_EQUALS, + OP_NOTEQUALS, OP_LESS_THAN, OP_GREATER_THAN, OP_LEQUALS, @@ -28,6 +29,7 @@ typedef enum {OP_NONE, OP_PLUS, OP_MINUS, OP_DIV, + OP_REMAINDER, OP_TIMES, OP_POWER, OP_NOT, @@ -48,7 +50,8 @@ typedef enum {OP_NONE, OP_SINH, OP_SQRT, OP_TAN, - OP_TANH} + OP_TANH, + OP_TRUNC} uExpressionOpcode; /* What sort of expression types we have. */ |