lua-users home
lua-l archive

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


On Sat, Mar 28, 2015 at 6:00 PM, Santosh Kadam <sanmanik@yahoo.com> wrote:
> Dear All,
>
> Any inputs on this is greatly appreciated...Please do let me know.
>
> Regards
> Santosh
>
>
> On Saturday, 28 March 2015 1:05 AM, Santosh Kadam <sanmanik@yahoo.com>
> wrote:
>
>
> Dear all,
>
> I am writing a lua script based app where I create lua scripts and call them
> from the C programs as required. I load the script into a char buffer and do
> a     luaL_loadstring(L,scrBuff);.
>
> I am getting the following error.
>
> LUA ERROR: [[string "--[[ Test: Op..."]:140: syntax error near 'TST_OnCa']
>
>
> Any idea - why is this load string failing ?
>
> Thanks and regards
> Santosh.
>
>

Please show your C code. I think, it loads only a part of the Lua code.



Best regards,
Boris Nagaev