Fix TextAdvance() problems involving whitespace around comment lines.
authorLei Zhang <antiagainst@google.com>
Fri, 21 Aug 2015 15:51:28 +0000 (11:51 -0400)
committerDejan Mircevski <deki@google.com>
Mon, 24 Aug 2015 19:05:05 +0000 (15:05 -0400)
commitee87cc2a1e04457a5e419cb27e0c18f5bd4f2e4f
tree05fe879bfb83a17e4970c0070f20c2419cef75a2
parent2facab2d084e750ee7648bbb9022668758ba45ab
Fix TextAdvance() problems involving whitespace around comment lines.

Fix the bug that TextAdvance() forgot to skip whitespace at the
beginning of the next line after a comment line.

Fix the bug that TextAdvanceLine() increase line number after going
over a character.
CMakeLists.txt
source/text.cpp
test/Comment.cpp [new file with mode: 0644]
test/TextAdvance.cpp
test/TextToBinary.cpp