nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: doc: fixed some typos and other misc. corrections
[nit.git]
/
src
/
location.nit
diff --git
a/src/location.nit
b/src/location.nit
index
36157d3
..
448d17d
100644
(file)
--- a/
src/location.nit
+++ b/
src/location.nit
@@
-208,7
+208,7
@@
class Location
if line_start == loc.line_start then
if column_start < loc.column_start then return false
if line_start == loc.line_start then
if column_start < loc.column_start then return false
- if column_start > loc.column_end then return false
+ if line_start == loc.line_end and column_start > loc.column_end then return false
end
if line_end == loc.line_end and column_end > loc.column_end then return false
end
if line_end == loc.line_end and column_end > loc.column_end then return false