Spellchecking: doing check new generated C files

This commit is contained in:
Martin Mathieson 2023-08-07 18:36:01 +01:00
parent f9846ecb7c
commit 9dbc72dd5b
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* services.h
/* services.c
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>

View File

@ -314,7 +314,7 @@ def isGeneratedFile(filename):
return False
# This file is generated, but notice is further in than want to check for all files
if filename.endswith('pci-ids.c'):
if filename.endswith('pci-ids.c') or filename.endswith('services-data.c') or filename.endswith('manuf-data.c'):
return True
# Open file
@ -332,7 +332,8 @@ def isGeneratedFile(filename):
line.find('Created by: The Qt Meta Object Compiler') != -1 or
line.find('This file was generated') != -1 or
line.find('This filter was automatically generated') != -1 or
line.find('This file is auto generated, do not edit!') != -1):
line.find('This file is auto generated, do not edit!') != -1 or
line.find('this file is automatically generated') != -1):
f_read.close()
return True

View File

@ -1004,6 +1004,7 @@ ofpat
ofpbac
ofpbrc
ofpet
ofpgmfc
ofpmp
ofppf
ofptfpt
@ -1073,6 +1074,7 @@ periodicities
peristency
persistency
pfname
pgpool
pharos
phaser
phasor
@ -1480,6 +1482,7 @@ subtlv
subtree
subtrees
superset
sverige
svhdx
switchinfo
symantec