File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ class GDScriptTokenizer {
183183 }
184184
185185 constexpr bool starts_after_or_together (const Pair<int , int > &p_other) const {
186- return start > p_other;
186+ return start >= p_other;
187187 }
188188 constexpr bool starts_after_or_together (const CodeArea &p_other) const {
189189 return starts_after_or_together (p_other.start );
@@ -240,7 +240,7 @@ class GDScriptTokenizer {
240240 }
241241
242242 constexpr bool ends_before_or_together (const Pair<int , int > &p_other) const {
243- return end < p_other;
243+ return end <= p_other;
244244 }
245245 constexpr bool ends_before_or_together (const CodeArea &p_other) const {
246246 return ends_before_or_together (p_other.end );
@@ -278,7 +278,7 @@ class GDScriptTokenizer {
278278 }
279279
280280 constexpr bool ends_after_or_together (const Pair<int , int > &p_other) const {
281- return end > p_other;
281+ return end >= p_other;
282282 }
283283 constexpr bool ends_after_or_together (const CodeArea &p_other) const {
284284 return ends_after_or_together (p_other.end );
You can’t perform that action at this time.
0 commit comments