From 524f8026106af96809ab70f8b48b0ee3c80a7098 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Sun, 3 Jan 2016 18:57:10 +0000
Subject: 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar
---
Doc/Zsh/options.yo | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'Doc/Zsh')
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index f37753991..2fce10780 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -2098,6 +2098,12 @@ When it is unset, zsh allows expressions of the form tt($#)var(name)
to refer to the length of tt($)var(name), even for special variables,
for example in expressions such as tt($#-) and tt($#*).
+Another difference is that with the option set assignment to an
+unset variable in arithmetic context causes the variable to be created
+as a scalar rather than a numeric type. So after `tt(unset t; (( t = 3
+)))'. without tt(POSIX_IDENTIFIERS) set tt(t) has integer type, while with
+it set it has scalar type.
+
When the option is unset and multibyte character support is enabled (i.e. it
is compiled in and the option tt(MULTIBYTE) is set), then additionally any
alphanumeric characters in the local character set may be used in
--
cgit 1.4.1