From c0ebc30a60b1fa919b424a34bd355a565b317ab8 Mon Sep 17 00:00:00 2001 From: yenatch Date: Mon, 24 Jul 2017 00:17:38 -0400 Subject: scaninc: skip whitespace/comments in the read loop fixes e73ec108adb15cda40c17ebe891d25460c3c42b3 --- tools/scaninc/c_file.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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(); -- cgit v1.2.3