fix wrong typo
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
e3b3412bc4
commit
e988f0f7a7
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ def remove_c_comments(string):
|
||||||
class CondDirectiveNotMatch(Exception):
|
class CondDirectiveNotMatch(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def preprocesse_c_source_code(source, *classes):
|
def preprocess_c_source_code(source, *classes):
|
||||||
"""
|
"""
|
||||||
Simple preprocessor for C source code.
|
Simple preprocessor for C source code.
|
||||||
|
|
||||||
|
@ -281,7 +281,7 @@ def generate_ssl_debug_helpers(target_dir):
|
||||||
|
|
||||||
definitions = dict()
|
definitions = dict()
|
||||||
prototypes = 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:
|
if start in definitions:
|
||||||
continue
|
continue
|
||||||
if isinstance(instance, EnumDefinition):
|
if isinstance(instance, EnumDefinition):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue