lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Apr 8, 2011 at 16:29, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> I do not know. You changed the code, did you not? (But I assume that it
> is treating the inicial rule [index 1] differently.)

The only thing I changed is the line described in the first post,
namely the line #1188 in the "fix_l" function definition (v0.10.1):

    if (!testpattern(L, -1))
-        luaLerror(L, "%s is not a pattern", val2str(L, -2));
+        getpatt(L, lua_gettop(L), NULL);