blob: 18a4af748f78ed04f47d53218bca8dfd9ef210e9 [file] [log] [blame]
Vijay Khemka92d648b2020-08-21 18:55:07 -07001/*
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 Tanous91354e42022-10-04 18:05:44 -07006// #define exprtk_disable_comments
Vijay Khemka92d648b2020-08-21 18:55:07 -07007/*
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 Khemka92d648b2020-08-21 18:55:07 -070034#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>