Skip to content

Commit 8fbb094

Browse files
author
thk123
committed
Add comment to CloseExpression
1 parent 4714c4e commit 8fbb094

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/cpplint.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,6 +1745,9 @@ def CloseExpression(clean_lines, linenum, pos):
17451745
and have CloseExpression be just a simple lookup, but due to preprocessor
17461746
tricks, this is not so easy.
17471747
1748+
Note this operates on the *elided lines* - the position will be wrong if you
1749+
want strings (or comments) to be included.
1750+
17481751
Args:
17491752
clean_lines: A CleansedLines instance containing the file.
17501753
linenum: The number of the line to check.

0 commit comments

Comments
 (0)