about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-21 00:20:16 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-21 00:20:16 +0000
commite67ed12ff8e09d03b731cdfff34bbd851db5e4ed (patch)
tree7e15ef29f31ac5c0929912b27b5ff227e0f35360
parent5d2f6534686ade26ae839339ff0e8436967aa156 (diff)
downloadzsh-e67ed12ff8e09d03b731cdfff34bbd851db5e4ed.tar.gz
zsh-e67ed12ff8e09d03b731cdfff34bbd851db5e4ed.tar.xz
zsh-e67ed12ff8e09d03b731cdfff34bbd851db5e4ed.zip
zsh-workers/8695
-rw-r--r--Doc/Zsh/params.yo7
-rw-r--r--Src/params.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index e9d88cd5b..bec7937ae 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -572,6 +572,13 @@ item(tt(LC_MESSAGES) <S>)(
 This variable determines the language in which messages should be
 written.  Note that zsh does not use message catalogs.
 )
+vindex(LC_NUMERIC)
+item(tt(LC_NUMERIC) <S>)(
+This variable affects the decimal point character and thousands
+separator character for the formatted input/output functions
+and string conversion functions.  Note that zsh ignores this
+setting when parsing floating point mathematical expressions.
+)
 vindex(LC_TIME)
 item(tt(LC_TIME) <S>)(
 This variable determines the locale category for date and time
diff --git a/Src/params.c b/Src/params.c
index b41ef6b37..5dcdeb986 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -159,6 +159,9 @@ LCIPDEF("LC_CTYPE"),
 # ifdef LC_MESSAGES
 LCIPDEF("LC_MESSAGES"),
 # endif
+# ifdef LC_NUMERIC
+LCIPDEF("LC_NUMERIC"),
+# endif
 # ifdef LC_TIME
 LCIPDEF("LC_TIME"),
 # endif
@@ -2458,6 +2461,9 @@ static struct localename {
 #ifdef LC_MESSAGES
     {"LC_MESSAGES", LC_MESSAGES},
 #endif
+#ifdef LC_NUMERIC
+    {"LC_NUMERIC", LC_NUMERIC},
+#endif
 #ifdef LC_TIME
     {"LC_TIME", LC_TIME},
 #endif