mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
44637: = doesn't need quoting in awk regexp.
Known to cause warnings in gawk 5.
This commit is contained in:
parent
5fd80faf98
commit
90fa6ee042
2 changed files with 6 additions and 1 deletions
|
|
@ -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]+/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue