Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16162/bindings
Modified Files:
genidocs.lua
Log Message:
Fix colorizing comments
Index: genidocs.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genidocs.lua,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** genidocs.lua 18 Dec 2007 01:03:32 -0000 1.12
--- genidocs.lua 1 Jan 2008 18:27:20 -0000 1.13
***************
*** 339,346 ****
--- 339,348 ----
in_blk_comment = true
out_line = string.sub(out_line, 1, t[n].s-1).."<font color=#"..colours.blkcomment..">"..string.sub(out_line, t[n].s)
+ t = GetAllComments(out_line)
elseif t[n].txt == "*/" then
if not in_blk_comment then print("ERROR mismatched /* */ in :", filename, line_n, line) end
in_blk_comment = false
out_line = string.sub(out_line, 1, t[n].s+1).."</font>"..string.sub(out_line, t[n].s+2)
+ t = GetAllComments(out_line)
end
end
|