From d2de2d5eda5779832a6e6ce4de1f1d8aa4f01047 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 27 Dec 1998 18:23:22 -0200 Subject: format for double is always "%g", do not need #defines --- lundump.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lundump.c b/lundump.c index 4af102b5..55860284 100644 --- a/lundump.c +++ b/lundump.c @@ -1,5 +1,5 @@ /* -** $Id: lundump.c,v 1.4 1998/06/25 16:48:44 roberto Exp roberto $ +** $Id: lundump.c,v 1.5 1998/12/15 14:59:43 roberto Exp $ ** load bytecodes from files ** See Copyright Notice in lua.h */ @@ -200,9 +200,8 @@ static void LoadHeader (ZIO* Z) } doLoadNumber(f,Z); if (f!=tf) - luaL_verror("unknown number representation in %s: " - "read " NUMBER_FMT "; expected " NUMBER_FMT "", /* LUA_NUMBER */ - zname(Z),(double)f,(double)tf); + luaL_verror("unknown number representation in %s: read %g; expected %g", + zname(Z),(double)f,(double)tf); /* LUA_NUMBER */ } static TProtoFunc* LoadChunk (ZIO* Z) -- cgit v1.2.3-55-g6feb