Friday, April 1, 2022

loosing context and fails on second luafile luatemplate

Hi,

According to luafile help I tried to execute

luafile example3.lua from https://github.com/manoelcampos/xml2lua

It succeded on first try 
"~\source\xml2lua-master\example3.lua" [unix] 37L, 1054B
xml2lua v1.5-2


Manual print
  1 table: 011B1040
  2 table: 011B15B8

Recursive print
  tag
    tag1
      1
      2
xml2lua v1.5-2



but fails on second one as if it was loosing context.
Error detected while processing function LuaFile:
line    3:
...sers\foo.bar\source\xml2lua-master\example3.lua:25: attempt to get length of a
nil value (field 'tag1')


Even I think it's not vim context pb but luafile context pb, 
Help would be gratefull.Thanks
NV

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/040448d1-2e47-46b1-8781-a8d43e4d267en%40googlegroups.com.

No comments:

Post a Comment