From ca2a6e60540437af881aa412af496eee6d0942bb Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Mon, 5 Nov 2012 17:25:36 +0100 Subject: [PATCH] Add '%char%' as a CheckInternal known pattern. --- lib/checkinternal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/checkinternal.cpp b/lib/checkinternal.cpp index d9ce8ff1b..21c192163 100644 --- a/lib/checkinternal.cpp +++ b/lib/checkinternal.cpp @@ -126,6 +126,7 @@ void CheckInternal::checkMissingPercentCharacter() magics.insert("%type%"); magics.insert("%num%"); magics.insert("%bool%"); + magics.insert("%char%"); magics.insert("%str%"); magics.insert("%varid%"); magics.insert("%or%"); @@ -178,6 +179,7 @@ void CheckInternal::checkUnknownPattern() knownPatterns.insert("%type%"); knownPatterns.insert("%num%"); knownPatterns.insert("%bool%"); + knownPatterns.insert("%char%"); knownPatterns.insert("%str%"); knownPatterns.insert("%varid%"); knownPatterns.insert("%or%");