diff options
author | 2019-07-24 22:26:23 +0200 | |
---|---|---|
committer | 2019-07-24 13:26:23 -0700 | |
commit | 69ad179b500cb22d358c6841fce3954e7465bce7 (patch) | |
tree | 57a0244081cb8b705916a3c7b023e713f197c3ca /Source/Parser/wp_parser_y.h | |
parent | a994e6e7c4419bdf5bee8d55889f1c25eaea5f1e (diff) | |
download | WarpX-69ad179b500cb22d358c6841fce3954e7465bce7.tar.gz WarpX-69ad179b500cb22d358c6841fce3954e7465bce7.tar.zst WarpX-69ad179b500cb22d358c6841fce3954e7465bce7.zip |
Parser now understands >= , <=, ==, !=, and, or (#230)
* Now parser understands <= and >=
* Now parser understands <= and >=
* Bugfixing
* Updated example
* Fixed bug
* Fixed precedence and added ==, !=, and, or
Diffstat (limited to 'Source/Parser/wp_parser_y.h')
-rw-r--r-- | Source/Parser/wp_parser_y.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Parser/wp_parser_y.h b/Source/Parser/wp_parser_y.h index c583d1a33..4a3aeda40 100644 --- a/Source/Parser/wp_parser_y.h +++ b/Source/Parser/wp_parser_y.h @@ -35,6 +35,12 @@ enum wp_f2_t { // Built-in functions with two arguments WP_POW = 1, WP_GT, WP_LT, + WP_GEQ, + WP_LEQ, + WP_EQ, + WP_NEQ, + WP_AND, + WP_OR, WP_HEAVISIDE, WP_MIN, WP_MAX |