* [Core] Fix #15558: Direct expression in ternary operator * [Core] Added tests for Non-Numeric conditions in ternary op. * [Core] prevent relational operator chains at grammar level. * [Core] Rewrite expressions grammar as a layered grammar. * [Core] Revert to left associative relops (like C/C++) plus tests.
9 lines
304 B
Bash
Executable File
9 lines
304 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
(cd "$(dirname "$0")" && \
|
|
flex -v -oExpression.lex.c Expression.l && \
|
|
bison -d -v -Wall -oExpression.tab.c -Wcounterexamples -Wconflicts-sr Expression.y && \
|
|
sed -i '1s|^|// clang-format off\n|' Expression.tab.c && \
|
|
sed -i '1s|^|// clang-format off\n|' Expression.lex.c \
|
|
)
|