Add '%char%' as a CheckInternal known pattern.

This commit is contained in:
Edoardo Prezioso 2012-11-05 17:25:36 +01:00
parent 1d4cacb3f1
commit ca2a6e6054
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,7 @@ void CheckInternal::checkMissingPercentCharacter()
magics.insert("%type%"); magics.insert("%type%");
magics.insert("%num%"); magics.insert("%num%");
magics.insert("%bool%"); magics.insert("%bool%");
magics.insert("%char%");
magics.insert("%str%"); magics.insert("%str%");
magics.insert("%varid%"); magics.insert("%varid%");
magics.insert("%or%"); magics.insert("%or%");
@ -178,6 +179,7 @@ void CheckInternal::checkUnknownPattern()
knownPatterns.insert("%type%"); knownPatterns.insert("%type%");
knownPatterns.insert("%num%"); knownPatterns.insert("%num%");
knownPatterns.insert("%bool%"); knownPatterns.insert("%bool%");
knownPatterns.insert("%char%");
knownPatterns.insert("%str%"); knownPatterns.insert("%str%");
knownPatterns.insert("%varid%"); knownPatterns.insert("%varid%");
knownPatterns.insert("%or%"); knownPatterns.insert("%or%");