From 8ec8f29055a8e2da158db1ec25c2b74e5e0018c4 Mon Sep 17 00:00:00 2001 From: rhaas Date: Thu, 19 Apr 2012 00:15:34 +0000 Subject: expand expression language, add error checking, and more documentation git-svn-id: http://svn.cactuscode.org/flesh/trunk@4804 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/include/utili_Expression.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include') 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. */ -- cgit v1.2.3