detail (identation of switch)

This commit is contained in:
Roberto Ierusalimschy
2017-11-28 09:19:07 -02:00
parent 093c16b67b
commit dfd188ba12
2 changed files with 35 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
/* /*
** $Id: ldump.c,v 2.38 2017/06/27 11:35:31 roberto Exp roberto $ ** $Id: ldump.c,v 2.39 2017/06/27 14:21:12 roberto Exp roberto $
** save precompiled Lua chunks ** save precompiled Lua chunks
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@@ -128,8 +128,7 @@ static void DumpConstants (const Proto *f, DumpState *D) {
case LUA_TLNGSTR: case LUA_TLNGSTR:
DumpString(tsvalue(o), D); DumpString(tsvalue(o), D);
break; break;
default: default: lua_assert(0);
lua_assert(0);
} }
} }
} }

View File

@@ -1,5 +1,5 @@
/* /*
** $Id: lundump.c,v 2.46 2017/06/27 14:21:12 roberto Exp roberto $ ** $Id: lundump.c,v 2.47 2017/06/29 15:06:44 roberto Exp roberto $
** load precompiled Lua chunks ** load precompiled Lua chunks
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@@ -150,8 +150,7 @@ static void LoadConstants (LoadState *S, Proto *f) {
case LUA_TLNGSTR: case LUA_TLNGSTR:
setsvalue2n(S->L, o, LoadString(S)); setsvalue2n(S->L, o, LoadString(S));
break; break;
default: default: lua_assert(0);
lua_assert(0);
} }
} }
} }