lua-users home
lua-l archive

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


On Wed, Mar 16, 2011 at 12:10 PM, Siddon Tang <siddontang@gmail.com> wrote:
> function dofunc()   --ok, here I use the incorret lua code, because I don't
> write end, aha.....

On Windows, no problem:

> luajit a.lua
luajit: error loading module 'b' from file '.\b.lua':
        .\b.lua:2: 'end' expected (to close 'function' at line 1) near '<eof>'
stack traceback:
...

steve d.