fix incorrect escaping in add-cfi.*.awk scripts
authorWill Dietz <w@wdtz.org>
Wed, 8 Jan 2020 19:20:44 +0000 (13:20 -0600)
committerRich Felker <dalias@aerifal.cx>
Mon, 20 Jan 2020 20:57:29 +0000 (15:57 -0500)
gawk 5 complains.

tools/add-cfi.i386.awk
tools/add-cfi.x86_64.awk

index 9162e30..d05037d 100644 (file)
@@ -81,7 +81,7 @@ function adjust_sp_offset(delta) {
     in_function = 0
   }
 }
-/^\.type [a-zA-Z0-9_]+,\@function/ {
+/^\.type [a-zA-Z0-9_]+,@function/ {
   functions[substr($2, 1, length($2)-10)] = 1
 }
 # not interested in assembler directives beyond this, just pass them through
index bbc90da..7e1513d 100644 (file)
@@ -76,7 +76,7 @@ function adjust_sp_offset(delta) {
     in_function = 0
   }
 }
-/^\.type [a-zA-Z0-9_]+,\@function/ {
+/^\.type [a-zA-Z0-9_]+,@function/ {
   functions[substr($2, 1, length($2)-10)] = 1
 }
 # not interested in assembler directives beyond this, just pass them through