summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6741442)
Signed-off-by: Jean Privat <jean@pryen.org>
if first_token == null then
return "????"
end
if first_token == null then
return "????"
end
+ if last_token == null then
+ return "{first_token.locate}--????"
+ end
var lastpos = last_token.pos + last_token.text.length - 1
if first_token.line == last_token.line then
return "{first_token.locate}--{lastpos}"
var lastpos = last_token.pos + last_token.text.length - 1
if first_token.line == last_token.line then
return "{first_token.locate}--{lastpos}"
if first_token == null then
return "????"
end
if first_token == null then
return "????"
end
+ if last_token == null then
+ return "{first_token.locate}--????"
+ end
var lastpos = last_token.pos + last_token.text.length - 1
if first_token.line == last_token.line then
return "{first_token.locate}--{lastpos}"
var lastpos = last_token.pos + last_token.text.length - 1
if first_token.line == last_token.line then
return "{first_token.locate}--{lastpos}"