gawk 5.4 doesn't like C++ style comments.

gawk: ../config/known-dwarf.awk:29: error: ? * + or {interval} not
      preceded by valid subpattern: /* */

It was an empty comment anyway, so just remove it.

        * config/known-dwarf.awk: Remove empty C++ style comment.

Signed-off-by: Mark Wielaard <[email protected]>
---
 config/known-dwarf.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/known-dwarf.awk b/config/known-dwarf.awk
index 0a62d13b2e6e..fb813e539543 100755
--- a/config/known-dwarf.awk
+++ b/config/known-dwarf.awk
@@ -26,7 +26,7 @@ set == "" && $1 ~ /DW_([A-Z_]+)_([^ ]+)/ {
   sub(/_[^[:upper:]_].*$/, "", set);
   if (set ~ /LANG_.+/) set = "LANG";
   if (set ~ /LNAME_.+/) set = "LNAME";
-  if (set ~ /SECT_.+/) set = "SECT"; /* */
+  if (set ~ /SECT_.+/) set = "SECT";
 }
 
 $1 ~ /DW([_A-Z]+)_([^ ]+)/ {
-- 
2.53.0

Reply via email to