Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32406/wxLua/bindings
Modified Files:
genwxbind.lua
Log Message:
Fix last commit of trying to preserve the order of the binding conditions, this way works.
Index: genwxbind.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v
retrieving revision 1.128
retrieving revision 1.129
diff -C2 -d -r1.128 -r1.129
*** genwxbind.lua 18 Jun 2007 19:51:23 -0000 1.128
--- genwxbind.lua 18 Jun 2007 21:40:27 -0000 1.129
***************
*** 532,536 ****
end
! print("Updating file : '"..filename.."'")
local outfile = io.open(filename, "w+")
--- 532,536 ----
end
! print("Updating file : '"..filename.."'")
local outfile = io.open(filename, "w+")
***************
*** 1738,1742 ****
elseif tag == "%endif" then
! table.remove(parseState.ConditionStack, 1) -- pop last %if
break -- we can stop processing line
--- 1738,1742 ----
elseif tag == "%endif" then
! table.remove(parseState.ConditionStack, #parseState.ConditionStack) -- pop last %if
break -- we can stop processing line
|