From a00584a13044548c8effc19b94c96e6211f13200 Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Mon, 10 Jan 2022 21:36:46 +0000 Subject: [PATCH] Fix gawk v5 warning (#961) gawk: ./mk-globals-c.awk:24: warning: regexp escape sequence \" is not a known regexp operator Some awk variants complain about what they perceive as invalid escape sequences. Gawk v5+ works but complains about us escaping double quotes. The corresponding awk statement (added in commit 42c674f) is unnecessary since commit 582c2af. Removing that statement is better than trying to guess its portable spelling in the gray zone of awk escape sequences. --- src/mk-globals-c.awk | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mk-globals-c.awk b/src/mk-globals-c.awk index cd4a68f39e..3f457bd7f7 100644 --- a/src/mk-globals-c.awk +++ b/src/mk-globals-c.awk @@ -21,7 +21,6 @@ Copyright != 1 { print; next } # arrays defined elsewhere /\[\];/ { next } -/^extern \"C\"/ { print; next } # # Check exactly for lines beginning with " extern", generated -- 2.47.2