Base: Insert SPDX specifier in parser script

This commit is contained in:
marioalexis
2025-12-16 12:35:01 -03:00
parent e5e1729c35
commit bfb0efd5f9

View File

@@ -3,6 +3,6 @@
(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 \
sed -i '1s|^|// SPDX-License-Identifier: LGPL-2.1-or-later\n\n// clang-format off\n|' Quantity.tab.c && \
sed -i '1s|^|// SPDX-License-Identifier: LGPL-2.1-or-later\n\n// clang-format off\n|' Quantity.lex.c \
)