diff --git a/sanityCheck b/sanityCheck index e8db762bad9e00fca4401687f616ae96ae656e3a..e5a1ab62043bd990e33bcb363732700f81f5df2c 100755 --- a/sanityCheck +++ b/sanityCheck @@ -95,7 +95,7 @@ $GREP 'elseif $ ' -- 'src/*' | myprint "missing ; before statement" # Check for a . inside a <<>> $GREP "<<[a-zA-Z]\([^\"'>]\|[^\"'>]>[^\"'>]\)*[a-zA-Z][.][^a-zA-Z]" | myprint "StrangeCharacterAfterDot" # Check for @@. instead of .@@ TODO: get this to work -$GREP "@@(\.|,|;)\s" | myprint "WrongSelectorPunctuation" +$GREP -e "@@(\.|,|;)\s" -- src/*.tw | myprint "WrongSelectorPunctuation" # Check that we do not have any variables that we use only once. e.g. $onlyUsedOnce # Ignore *Nationalities