lua

A copy of the Lua development repository
Log | Files | Refs | README

commit cbef15f3ea81a925abdcc11bf5870f3f0f1ce1cb
parent 16e8bb360bb9b26f501808cf3e738a636ee5f11e
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue,  9 Jun 2015 11:20:48 -0300

comment (FALLTHROUGH position)

Diffstat:
Mltable.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ltable.c b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.109 2015/04/02 21:09:51 roberto Exp roberto $ +** $Id: ltable.c,v 2.110 2015/05/20 16:22:30 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -551,8 +551,8 @@ const TValue *luaH_get (Table *t, const TValue *key) { lua_Integer k; if (luaV_tointeger(key, &k, 0)) /* index is int? */ return luaH_getint(t, k); /* use specialized version */ - /* else *//* FALLTHROUGH */ - } + /* else... */ + } /* FALLTHROUGH */ default: { Node *n = mainposition(t, key); for (;;) { /* check whether 'key' is somewhere in the chain */