diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-09-30 09:44:45 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-09-30 09:44:45 -0300 |
commit | e24f1ee9ff2def53a5cca19038d8b1ee6afc5c62 (patch) | |
tree | ccf04acdd8c822be215c401d8167d7478724cf13 /lparser.c | |
parent | f3b0eb3ecfc749767cdb37ef9651d2a76daa0983 (diff) | |
download | lua-e24f1ee9ff2def53a5cca19038d8b1ee6afc5c62.tar.gz lua-e24f1ee9ff2def53a5cca19038d8b1ee6afc5c62.tar.bz2 lua-e24f1ee9ff2def53a5cca19038d8b1ee6afc5c62.zip |
lint (unreachable code)
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.118 2011/08/30 16:38:58 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.119 2011/09/14 17:40:26 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1611,8 +1611,8 @@ Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, | |||
1611 | close_func(&lexstate); | 1611 | close_func(&lexstate); |
1612 | L->top--; /* pop name */ | 1612 | L->top--; /* pop name */ |
1613 | lua_assert(!funcstate.prev && funcstate.nups == 1 && !lexstate.fs); | 1613 | lua_assert(!funcstate.prev && funcstate.nups == 1 && !lexstate.fs); |
1614 | return funcstate.f; | ||
1615 | /* all scopes should be correctly finished */ | 1614 | /* all scopes should be correctly finished */ |
1616 | lua_assert(dyd->actvar.n == 0 && dyd->gt.n == 0 && dyd->label.n == 0); | 1615 | lua_assert(dyd->actvar.n == 0 && dyd->gt.n == 0 && dyd->label.n == 0); |
1616 | return funcstate.f; | ||
1617 | } | 1617 | } |
1618 | 1618 | ||