diff options
author | yenatch <yenatch@gmail.com> | 2017-07-23 22:34:49 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-07-23 22:34:49 -0400 |
commit | e73ec108adb15cda40c17ebe891d25460c3c42b3 (patch) | |
tree | 6add0d130afc2a64a08a1879111304a3e2b7f8c5 /tools/scaninc/c_file.h | |
parent | 89c9c19446843c978485f67eeaa3d55ac26a15ec (diff) |
scaninc: skipping comments seems to be faster than removing them
Diffstat (limited to 'tools/scaninc/c_file.h')
-rw-r--r-- | tools/scaninc/c_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scaninc/c_file.h b/tools/scaninc/c_file.h index 38b10f04e..618901b85 100644 --- a/tools/scaninc/c_file.h +++ b/tools/scaninc/c_file.h @@ -44,9 +44,9 @@ private: std::set<std::string> m_incbins; std::set<std::string> m_includes; - void RemoveComments(); bool ConsumeHorizontalWhitespace(); bool ConsumeNewline(); + bool ConsumeComment(); void SkipWhitespace(); bool CheckIdentifier(const std::string& ident); void CheckInclude(); |