From d3a2a25fb417183de82a0d2335db8cdcce605a55 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Sat, 18 Mar 2023 13:52:28 +0100 Subject: coccinelle: respect spacing from the semantic patch --- coccinelle/run-coccinelle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coccinelle/run-coccinelle.sh b/coccinelle/run-coccinelle.sh index 3249722863..cd951790b9 100755 --- a/coccinelle/run-coccinelle.sh +++ b/coccinelle/run-coccinelle.sh @@ -42,7 +42,7 @@ for script in "${SCRIPTS[@]}"; do TMPFILE="$(mktemp)" echo "+ spatch --sp-file $script ${ARGS[*]} ..." parallel --halt now,fail=1 --keep-order --noswap --max-args=20 \ - spatch --macro-file="$TOP_DIR/coccinelle/macros.h" --sp-file "$script" "${ARGS[@]}" ::: "${FILES[@]}" \ + spatch --macro-file="$TOP_DIR/coccinelle/macros.h" --smpl-spacing --sp-file "$script" "${ARGS[@]}" ::: "${FILES[@]}" \ 2>"$TMPFILE" || cat "$TMPFILE" echo -e "--x-- Processed $script --x--\n" done -- cgit v1.2.1