replacing kNameSpace_AddSyntaxPattern with kSyntax_AddPattern