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