Files
create/src/App/ExpressionParser.sh
2025-12-25 11:55:37 -06:00

10 lines
349 B
Bash
Executable File

#!/usr/bin/env sh
# SPDX-License-Identifier: LGPL-2.1-or-later
(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 \
)