From 6389b254c9141437c57e8544410fe5de01d0f88e Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Thu, 2 Dec 2021 10:28:40 +0800 Subject: [PATCH] fix typos error Signed-off-by: Jerry Yu --- scripts/generate_ssl_debug_helpers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/generate_ssl_debug_helpers.py b/scripts/generate_ssl_debug_helpers.py index 3065d08f2..711bfd398 100755 --- a/scripts/generate_ssl_debug_helpers.py +++ b/scripts/generate_ssl_debug_helpers.py @@ -48,10 +48,10 @@ def preprocess_c_source_code(source, *classes): """ Simple preprocessor for C source code. - Only processs condition directives without expanding them. - Yield object accodring to the classes input. Most match firstly + Only processses condition directives without expanding them. + 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. @@ -129,7 +129,7 @@ class EnumDefinition: """ 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: [typedef] enum [prefix name] { [body] } [suffix name];