--- flawfinder.orig 2008-02-16 16:19:59.000000000 -0500
+++ flawfinder 2008-02-16 16:21:43.000000000 -0500
@@ -1299,6 +1299,8 @@
m = p_whitespace.match(text,i)
if m:
i = m.end(0)
+ if i == len(text):
+ continue
c = text[i]
if linebegin: # If at beginning of line, see if #include is there.