diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-26 11:31:49 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-26 11:31:49 -0300 |
| commit | dd3a63c205a97339d8c8aec3cd49941bc10ba45c (patch) | |
| tree | 763c1701607ace52692c8566277c6c70c7895acd /lua.c | |
| parent | cb49b088b61b75b905663a58a2c545de1ffea13a (diff) | |
| download | lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.gz lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.bz2 lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.zip | |
new way to handle `profiles'
Diffstat (limited to 'lua.c')
| -rw-r--r-- | lua.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.64 2001/02/23 20:28:26 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.65 2001/03/09 18:05:05 roberto Exp roberto $ |
| 3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -10,6 +10,7 @@ | |||
| 10 | #include <stdlib.h> | 10 | #include <stdlib.h> |
| 11 | #include <string.h> | 11 | #include <string.h> |
| 12 | 12 | ||
| 13 | #define LUA_PRIVATE | ||
| 13 | #include "lua.h" | 14 | #include "lua.h" |
| 14 | 15 | ||
| 15 | #include "luadebug.h" | 16 | #include "luadebug.h" |
| @@ -118,7 +119,7 @@ static void print_message (void) { | |||
| 118 | 119 | ||
| 119 | 120 | ||
| 120 | static void print_version (void) { | 121 | static void print_version (void) { |
| 121 | printf(l_s("%.80s %.80s\n"), LUA_VERSION, LUA_COPYRIGHT); | 122 | printf(l_s("%.80s %.80s\n"), l_s(LUA_VERSION), l_s(LUA_COPYRIGHT)); |
| 122 | } | 123 | } |
| 123 | 124 | ||
| 124 | 125 | ||
