diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-01 16:32:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-01 16:32:41 -0300 |
commit | 7820a47184c0079677c5c430125f0541af05c8b6 (patch) | |
tree | 10ffcef30c0fa0a172056529b90176133220159d /lua.c | |
parent | 88b185ada15b76d6bfe8bb5e2d38935cf32e618a (diff) | |
download | lua-7820a47184c0079677c5c430125f0541af05c8b6.tar.gz lua-7820a47184c0079677c5c430125f0541af05c8b6.tar.bz2 lua-7820a47184c0079677c5c430125f0541af05c8b6.zip |
LOCALE support
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,11 +3,12 @@ | |||
3 | ** Linguagem para Usuarios de Aplicacao | 3 | ** Linguagem para Usuarios de Aplicacao |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_lua="$Id: lua.c,v 1.17 1997/06/18 21:20:45 roberto Exp roberto $"; | 6 | char *rcs_lua="$Id: lua.c,v 1.18 1997/06/19 18:55:40 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #include <string.h> | 9 | #include <string.h> |
10 | 10 | ||
11 | #include "lualoc.h" | ||
11 | #include "lua.h" | 12 | #include "lua.h" |
12 | #include "auxlib.h" | 13 | #include "auxlib.h" |
13 | #include "lualib.h" | 14 | #include "lualib.h" |
@@ -107,6 +108,7 @@ int main (int argc, char *argv[]) | |||
107 | { | 108 | { |
108 | int i; | 109 | int i; |
109 | int result = 0; | 110 | int result = 0; |
111 | setlocale(LC_ALL, ""); | ||
110 | iolib_open (); | 112 | iolib_open (); |
111 | strlib_open (); | 113 | strlib_open (); |
112 | mathlib_open (); | 114 | mathlib_open (); |