fix typos error

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-12-02 10:28:40 +08:00
parent cdcc55f46f
commit 6389b254c9

View file

@ -48,10 +48,10 @@ def preprocess_c_source_code(source, *classes):
""" """
Simple preprocessor for C source code. Simple preprocessor for C source code.
Only processs condition directives without expanding them. Only processses condition directives without expanding them.
Yield object accodring to the classes input. Most match firstly Yield object according to the classes input. Most match firstly
If there are directive pair does not match, raise CondDirectiveNotMatch. If the directive pair does not match , raise CondDirectiveNotMatch.
Assume source code does not include comments and compile pass. Assume source code does not include comments and compile pass.
@ -129,7 +129,7 @@ class EnumDefinition:
""" """
Generate helper functions around enumeration. Generate helper functions around enumeration.
Currently, it generate tranlation function from enum value to string. Currently, it generate translation function from enum value to string.
Enum definition looks like: Enum definition looks like:
[typedef] enum [prefix name] { [body] } [suffix name]; [typedef] enum [prefix name] { [body] } [suffix name];