diff options
Diffstat (limited to 'ldump.c')
| -rw-r--r-- | ldump.c | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldump.c,v 1.7 2004/06/09 21:03:53 lhf Exp lhf $ | 2 | ** $Id: ldump.c,v 2.3 2004/07/09 18:24:41 roberto Exp $ |
| 3 | ** save pre-compiled Lua chunks | 3 | ** save pre-compiled Lua chunks |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -121,6 +121,9 @@ static void DumpConstants(const Proto* f, DumpState* D) | |||
| 121 | break; | 121 | break; |
| 122 | case LUA_TNIL: | 122 | case LUA_TNIL: |
| 123 | break; | 123 | break; |
| 124 | case LUA_TBOOLEAN: | ||
| 125 | DumpByte(bvalue(o),D); | ||
| 126 | break; | ||
| 124 | default: | 127 | default: |
| 125 | lua_assert(0); /* cannot happen */ | 128 | lua_assert(0); /* cannot happen */ |
| 126 | break; | 129 | break; |
