From cda5c8bddc31a6639c92fbb1decbf703aef22766 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Mon, 6 Jun 2016 08:37:52 -0700 Subject: [PATCH] Include C++ stdlib headers as well. They'll be missing, but we can still detect unused. --- minheader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minheader.py b/minheader.py index c70712a..0c6e5f3 100755 --- a/minheader.py +++ b/minheader.py @@ -42,7 +42,7 @@ class Interrupted(Error): class MinHeader(object): - _INCLUDE_RE = re.compile('^#include ["<](?P[^>"]+\.[^>"]+)[>"]') + _INCLUDE_RE = re.compile('^#include ["<](?P[^>"]+)[>"]') def __init__(self, include_paths, test_command): self._include_paths = include_paths