Base: Quantity: rename lexer and parser files

Rename files according 7d233dc ("Gui: Rename generated lexer files
to match core naming pattern"). Note that C space errors (space
before tabs, spaces on blank lines, etc.) still need to be fixed
manually after regenerating lexer file.
This commit is contained in:
Ladislav Michl
2025-04-07 16:31:57 +02:00
committed by Benjamin Nauck
parent f7c8ce50bc
commit ed00a6673c
9 changed files with 806 additions and 1016 deletions

View File

@@ -1,2 +1,6 @@
flex -oQuantityLexer.c < QuantityParser.l
bison -oQuantityParser.c QuantityParser.y
(cd "$(dirname "$0")" && \
flex -oQuantity.lex.c Quantity.l && \
bison -oQuantity.tab.c Quantity.y && \
sed -i '1s|^|// clang-format off\n|' Quantity.tab.c && \
sed -i '1s|^|// clang-format off\n|' Quantity.lex.c \
)