diff -r 0aa4f7bda3f8 -r 28aa762f11c7 scansion/parser.lua --- a/scansion/parser.lua Fri Dec 28 04:39:44 2018 -0500 +++ b/scansion/parser.lua Fri Dec 28 04:41:09 2018 -0500 @@ -31,6 +31,7 @@ last_object[k] = v; elseif #parsed.actions > 0 and line:sub(1,1) == "\t" then table.insert(parsed.actions[#parsed.actions].extra, line:sub(2)); + parsed.actions[#parsed.actions].line_end = line_number; elseif line:match("^%s*$") or line:match("^#") or line:match("^([/-])%1") then -- Blank line or comment local in_header = (next(parsed.objects) == nil) and (next(parsed.actions) == nil); @@ -78,6 +79,8 @@ action = action:lower(); extra = {#extra>0 and extra or nil}; annotation = annotation and table.concat(annotation, "\n") or nil; + line_start = line_number; + line_end = line_number; }); annotation = nil; end