summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-07-24 00:17:38 -0400
committeryenatch <yenatch@gmail.com>2017-07-24 00:17:38 -0400
commitc0ebc30a60b1fa919b424a34bd355a565b317ab8 (patch)
tree717153405333e508cccdc608f6091d3de1993406
parente98e074138c9a8083a812760d71144f7174b34d8 (diff)
scaninc: skip whitespace/comments in the read loop
fixes e73ec108adb15cda40c17ebe891d25460c3c42b3
-rw-r--r--tools/scaninc/c_file.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/scaninc/c_file.cpp b/tools/scaninc/c_file.cpp
index 035af4e1b..bba196857 100644
--- a/tools/scaninc/c_file.cpp
+++ b/tools/scaninc/c_file.cpp
@@ -78,6 +78,7 @@ void CFile::FindIncbins()
}
else
{
+ SkipWhitespace();
CheckInclude();
CheckIncbin();