mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-22 00:11:30 +02:00
52392: use octal escape to match = without error messages from awk
This commit is contained in:
parent
25f5618b17
commit
58840922ee
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2023-12-13 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 52392: Src/makepro.awk: use octal escape to match = without
|
||||
error messages from either GNU awk or Solaris awk
|
||||
|
||||
* 52382: Src/Modules/ksh93.c, Src/Zle/zle_utils.c: avoid \e in C code
|
||||
|
||||
2023-12-09 Bart Schaefer <schaefer@zsh.org>
|
||||
|
|
|
@ -121,7 +121,7 @@ BEGIN {
|
|||
# initialiser.
|
||||
dcltor = substr(line, 1, RLENGTH-1)
|
||||
line = substr(line, RLENGTH+1)
|
||||
sub(/=.*$/, "", dcltor)
|
||||
sub(/\075.*$/, "", dcltor)
|
||||
match(dcltor, /^([^_0-9A-Za-z]| const )*/)
|
||||
dcltor = substr(dcltor, 1, RLENGTH) "@+" substr(dcltor, RLENGTH+1)
|
||||
match(dcltor, /^.*@\+[_0-9A-Za-z]+/)
|
||||
|
|
Loading…
Reference in a new issue