From 4cafe4dce13d9c27ad5327f85348d864095f3d58 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 19 Mar 2023 00:29:06 +0100 Subject: [PATCH] Fix steps to debug --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f041dbf8..2488b7ba 100644 --- a/README.md +++ b/README.md @@ -969,8 +969,8 @@ In case of difficulties, debugging can be done by generating the preprocessed fi and check what's wrong in the preprocessed file: ```shell - cc -std=c99 -E test-file.c > test-file.i - perl -pi -e 's/;/;\n/g' test-file.i + cc -std=c99 -E test-file.c |grep -v '^#' > test-file.i + perl -i -e 's/;/;\n/g' test-file.i cc -std=c99 -c -Wall test-file.i ```