aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgrep.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgrep.cpp b/cgrep.cpp
index c1142f8..0abfef5 100644
--- a/cgrep.cpp
+++ b/cgrep.cpp
@@ -423,6 +423,7 @@ public:
SourceLocation SL = SR.getBegin();
CheckSLValidity(SL);
SL = Devi::SourceLocationHasMacro(SL, Rewrite, "start");
+ CheckSLValidity(SL);
if (Devi::IsTheMatchInSysHeader(CO_SYSHDR, MR, SL))
return void();
if (!Devi::IsTheMatchInMainFile(CO_MAINFILE, MR, SL))