lua-users home
lua-l archive

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


> Probably the test should be 'if (ls->fs)', but it does not seem to
> be necessary anyway.

A comment in 5.2 explains why 'if (ls->fs)' is not necessary:

  /* last token from outer function must be EOS */
  lua_assert(ls->fs != NULL || ls->t.token == TK_EOS);

-- Roberto