Update src/main/cpp/TextScanner.cpp