We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CodeArea::*_or_together
1 parent b81fcd6 commit e99c12cCopy full SHA for e99c12c
modules/gdscript/gdscript_tokenizer.h
@@ -240,7 +240,7 @@ class GDScriptTokenizer {
240
}
241
242
constexpr bool ends_before_or_together(const Pair<int, int> &p_other) const {
243
- return end < p_other;
+ return end <= p_other;
244
245
constexpr bool ends_before_or_together(const CodeArea &p_other) const {
246
return ends_before_or_together(p_other.end);
@@ -278,7 +278,7 @@ class GDScriptTokenizer {
278
279
280
constexpr bool ends_after_or_together(const Pair<int, int> &p_other) const {
281
- return end > p_other;
+ return end >= p_other;
282
283
constexpr bool ends_after_or_together(const CodeArea &p_other) const {
284
return ends_after_or_together(p_other.end);
0 commit comments