about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2019-08-03 08:53:05 +0300
committerPeter Stephenson <p.stephenson@samsung.com>2019-08-03 10:57:02 +0100
commit90fa6ee042215bf4304e1b0063bc35bf8ed4594c (patch)
tree6d436c3669040309febf528b38e483f3eb1440b9 /Src
parent5fd80faf982ee0ca5781a4c977177efdfb2f0865 (diff)
downloadzsh-90fa6ee042215bf4304e1b0063bc35bf8ed4594c.tar.gz
zsh-90fa6ee042215bf4304e1b0063bc35bf8ed4594c.tar.xz
zsh-90fa6ee042215bf4304e1b0063bc35bf8ed4594c.zip
44637: = doesn't need quoting in awk regexp.
Known to cause warnings in gawk 5.
Diffstat (limited to 'Src')
-rw-r--r--Src/makepro.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/makepro.awk b/Src/makepro.awk
index 0498c1545..226d3f96b 100644
--- a/Src/makepro.awk
+++ b/Src/makepro.awk
@@ -121,7 +121,7 @@ BEGIN {
 		# initialiser.
 		dcltor = substr(line, 1, RLENGTH-1)
 		line = substr(line, RLENGTH+1)
-		sub(/\=.*$/, "", dcltor)
+		sub(/=.*$/, "", dcltor)
 		match(dcltor, /^([^_0-9A-Za-z]| const )*/)
 		dcltor = substr(dcltor, 1, RLENGTH) "@+" substr(dcltor, RLENGTH+1)
 		match(dcltor, /^.*@\+[_0-9A-Za-z]+/)