def ProcessGlobalSuppresions(lines):
 for line in lines:
  if _SEARCH_C_FILE.search(line):
   for category in _DEFAULT_C_SUPPRESSED_CATEGORIES:
    _global_error_suppressions[category] = True
  if _SEARCH_KERNEL_FILE.search(line):
   for category in _DEFAULT_KERNEL_SUPPRESSED_CATEGORIES:
    _global_error_suppressions[category] = True

def ProcessGlobalSuppresions ( lines ) : for line in lines : if _SEARCH_C_FILE . search ( line ) : for category in _DEFAULT_C_SUPPRESSED_CATEGORIES : _global_error_suppressions [ category ] = True if _SEARCH_KERNEL_FILE . search ( line ) : for category in _DEFAULT_KERNEL_SUPPRESSED_CATEGORIES : _global_error_suppressions [ category ] = True
updates the list of global error suppressions .