1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-04 06:36:18 +02:00

51534: update for recent changes in zsh.h

This commit is contained in:
Bart Schaefer 2023-03-07 17:57:06 -08:00
parent 42640b2613
commit 8424fe5e23
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2023-03-07 Bart Schaefer <schaefer@zsh.org>
* 51534: Util/printdefines: update for recent changes
2023-03-06 Bart Schaefer <schaefer@zsh.org>
* 51512: Doc/Zsh/mod_ksh93.yo: More about unsupported features

View File

@ -298,6 +298,8 @@ local -AHPrt scanparamflags=(
$((1<<9)) SCANPM_ARRONLY # value is array but we don't
$((1<<10)) SCANPM_CHECKING # Check if set, no need to create
$((1<<11)) SCANPM_NOEXEC # No command substitutions, etc.
$((1<<12)) SCANPM_NONAMESPC # namespace syntax not allowed
$((1<<13)) SCANPM_NONAMEREF # named references are not followed
)
local -AHPrt substmodifiers=(
mapbase 16
@ -314,7 +316,7 @@ local -AHPrt substmodifiers=(
$((0x0400)) SUB_DOSUBST # replacement string needs substituting
$((0x4000)) SUB_EGLOB # use extended globbing in patterns
)
local -AHPrt printnodeflags=(
local -AHPrt printparamflags=(
mapbase 2
$((1<<0)) PRINT_NAMEONLY
$((1<<1)) PRINT_TYPE
@ -325,6 +327,9 @@ local -AHPrt printnodeflags=(
$((1<<6)) PRINT_LINE
$((1<<7)) PRINT_POSIX_EXPORT
$((1<<8)) PRINT_POSIX_READONLY
$((1<<9)) PRINT_WITH_NAMESPACE
)
local -AHPrt printwhenceflags=(
$((1<<7)) PRINT_WHENCE_CSH
$((1<<8)) PRINT_WHENCE_VERBOSE
$((1<<9)) PRINT_WHENCE_SIMPLE