diff options
| -rw-r--r-- | lundump.c | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lundump.c,v 1.4 1998/06/25 16:48:44 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 1.5 1998/12/15 14:59:43 roberto Exp $ |
| 3 | ** load bytecodes from files | 3 | ** load bytecodes from files |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -200,9 +200,8 @@ static void LoadHeader (ZIO* Z) | |||
| 200 | } | 200 | } |
| 201 | doLoadNumber(f,Z); | 201 | doLoadNumber(f,Z); |
| 202 | if (f!=tf) | 202 | if (f!=tf) |
| 203 | luaL_verror("unknown number representation in %s: " | 203 | luaL_verror("unknown number representation in %s: read %g; expected %g", |
| 204 | "read " NUMBER_FMT "; expected " NUMBER_FMT "", /* LUA_NUMBER */ | 204 | zname(Z),(double)f,(double)tf); /* LUA_NUMBER */ |
| 205 | zname(Z),(double)f,(double)tf); | ||
| 206 | } | 205 | } |
| 207 | 206 | ||
| 208 | static TProtoFunc* LoadChunk (ZIO* Z) | 207 | static TProtoFunc* LoadChunk (ZIO* Z) |
