Brad King
16275c7f82
LexerParser: Suppress NVHPC warnings in generated code
2021-04-28 10:09:35 -04:00
Brad King
aac80ec1ee
LexerParser: Suppress gcc -Wfree-nonheap-object warnings in generated code
2021-02-05 06:48:44 -05:00
Brad King
7c6192472b
LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser
2021-01-26 14:33:52 -05:00
Christoph Grüninger
6f64300a01
LexerParser: Clean up includes following include-what-you-use
2021-01-25 12:06:28 -05:00
Christoph Grüninger
c95442b9b1
LexerParser: Manual removing code from Bison is no longer needed
...
This was needed to avoid warnings while compiling the sources generated
by older versions of GNU Bison, but is not with GNU Bison 3.7.4.
2021-01-25 12:05:36 -05:00
Christoph Grüninger
5a8a61a798
LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
...
Silence Bison warnings regarding use of Bison extensions.
2021-01-25 12:05:20 -05:00
Gabor Bencze
d427f12b73
math(EXPR): Implement ~(exp_NOT) expression as documented
...
Fixes : #19252
2019-07-23 07:33:50 -04:00
Brad King
34257b0dd4
LexerParser: Suppress GCC -Wconversion warnings
...
GCC 8 warns about some of the conversions in bison-generated code.
Suppress the warnings.
2018-07-31 09:34:55 -04:00
Brad King
406f397e8b
math: Restore toleration of unexpected characters in an expression
...
Prior to commit 7c4c13ffef
(math: Reject unexpected expression input
explicitly, 2018-05-18) we ignored unexpected characters in an
expression that otherwise can be parsed. In order to preserve
compatibility with projects that accidentally used this, convert the
error to a warning.
2018-07-16 14:46:43 -04:00
Daniel Franke
8661e7052c
math: Diagnose divide-by-zero
2018-06-26 14:21:18 -04:00
Daniel Franke
7c4c13ffef
math: Reject unexpected expression input explicitly
...
Switch to C++ exceptions for lexer/parser error handling.
Teach the lexer/parser to fail on unexpected input.
2018-06-26 14:15:21 -04:00
Daniel Pfeifer
9bad0dfcce
LexerParser: move to custom directory
2017-04-28 23:10:39 +02:00