From f5504a345affa9b5101d0b5b32287a9cd702a324 Mon Sep 17 00:00:00 2001 From: steve donovan Date: Sat, 30 Jul 2011 11:07:26 +0200 Subject: [PATCH] quote strings in long comment blocks. This continues an already nasty hack which we need to retire pronto --- ldoc/tools.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/ldoc/tools.lua b/ldoc/tools.lua index f7955ef..9e8dd6b 100644 --- a/ldoc/tools.lua +++ b/ldoc/tools.lua @@ -337,6 +337,7 @@ function M.grab_block_comment (v,tok,end1,end2) last_v = v t,v = tok() if t=='comment' and v:find(t12,1,true) then t12 = nil; break end + if t=='string' then v = "'"..v.."'" end append(res,v) until last_v == end1 and v == end2 if t12 then