diff options
Diffstat (limited to 'lbuiltin.c')
-rw-r--r-- | lbuiltin.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.25 1998/02/12 19:27:10 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.26 1998/03/06 16:54:42 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -160,8 +160,8 @@ static char *to_string (lua_Object obj) | |||
160 | } | 160 | } |
161 | case LUA_T_NIL: | 161 | case LUA_T_NIL: |
162 | return "nil"; | 162 | return "nil"; |
163 | default: | 163 | default: |
164 | lua_error("internal error"); | 164 | LUA_INTERNALERROR("invalid type"); |
165 | return NULL; /* to avoid warnings */ | 165 | return NULL; /* to avoid warnings */ |
166 | } | 166 | } |
167 | } | 167 | } |