Vijay Khemka | 92d648b | 2020-08-21 18:55:07 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This define will disable the ability for expressions to have comments. |
| 3 | * Expressions that have comments when parsed with a build that has this |
| 4 | * option, will result in a compilation failure. |
| 5 | */ |
Ed Tanous | 91354e4 | 2022-10-04 18:05:44 -0700 | [diff] [blame] | 6 | // #define exprtk_disable_comments |
Vijay Khemka | 92d648b | 2020-08-21 18:55:07 -0700 | [diff] [blame] | 7 | /* |
| 8 | * This define will disable the loop-wise 'break' and 'continue' |
| 9 | * capabilities. Any expression that contains those keywords will result |
| 10 | * in a compilation failure. |
| 11 | */ |
| 12 | #define exprtk_disable_break_continue |
| 13 | /* |
| 14 | * This define will disable the short-circuit '&' (and) and '|' (or) |
| 15 | * operators |
| 16 | */ |
| 17 | #define exprtk_disable_sc_andor |
| 18 | /* |
| 19 | * This define will disable all enhanced features such as strength |
| 20 | * reduction and special function optimisations and expression specific |
| 21 | * type instantiations. This feature will reduce compilation times and |
| 22 | * binary sizes but will also result in massive performance degradation |
| 23 | * of expression evaluations. |
| 24 | */ |
| 25 | #define exprtk_disable_enhanced_features |
| 26 | /* |
| 27 | * This define will disable all string processing capabilities. Any |
| 28 | * expression that contains a string or string related syntax will result |
| 29 | * in a compilation failure. |
| 30 | */ |
| 31 | #define exprtk_disable_string_capabilities |
| 32 | |
| 33 | #define exprtk_disable_rtl_io_file |
Vijay Khemka | 92d648b | 2020-08-21 18:55:07 -0700 | [diff] [blame] | 34 | #define exprtk_disable_return_statement |
| 35 | #define exprtk_disable_rtl_io |
| 36 | #define exprtk_disable_superscalar_unroll |
| 37 | |
| 38 | /* include main exprtk header library */ |
| 39 | #include <exprtk.hpp> |