Skip to content

Commit 87e783a

Browse files
add comment
1 parent 29c8bcb commit 87e783a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/addon.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ class Statement {
7979
// statements.
8080
//
8181
// If return value `false` - only whitespace and comments remain.
82+
//
83+
// Note: we use `rfind(..., 0)` for effectively a prefix check.
8284
static inline bool HasTail(std::string const& tail) {
8385
std::string p(tail);
8486
while (!p.empty()) {

0 commit comments

Comments
 (0)