fix // comments
This commit is contained in:
parent
06dc63ce74
commit
ae6dd9f2bc
@ -302,7 +302,7 @@ local function prefixCode(code, fn) -- fix strings, add line numbers
|
|||||||
|
|
||||||
if state=="code" then
|
if state=="code" then
|
||||||
if c=="\r" then
|
if c=="\r" then
|
||||||
elseif c=="\n" or c=="/" then
|
elseif c=="\n" or (c=="/" and cn~="/") then
|
||||||
linenum = linenum+1
|
linenum = linenum+1
|
||||||
if not skipnl then out("\n") out(".ln "..linenum); out("\n"); end
|
if not skipnl then out("\n") out(".ln "..linenum); out("\n"); end
|
||||||
lastnl = true
|
lastnl = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user