quote strings in long comment blocks. This continues an already nasty hack which we need to retire pronto

This commit is contained in:
steve donovan 2011-07-30 11:07:26 +02:00
parent 9b373e36aa
commit f5504a345a
1 changed files with 1 additions and 0 deletions

View File

@ -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