fix wrong typo

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-11-11 13:22:20 +08:00
parent e3b3412bc4
commit e988f0f7a7

View file

@ -44,7 +44,7 @@ def remove_c_comments(string):
class CondDirectiveNotMatch(Exception):
pass
def preprocesse_c_source_code(source, *classes):
def preprocess_c_source_code(source, *classes):
"""
Simple preprocessor for C source code.
@ -281,7 +281,7 @@ def generate_ssl_debug_helpers(target_dir):
definitions = dict()
prototypes = dict()
for start, instance in preprocesse_c_source_code(source_code, EnumDefinition):
for start, instance in preprocess_c_source_code(source_code, EnumDefinition):
if start in definitions:
continue
if isinstance(instance, EnumDefinition):