diff options
-rw-r--r-- | Doc/Zsh/params.yo | 7 | ||||
-rw-r--r-- | Src/params.c | 6 |
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 |