diff options
author | lilinjie <lilinjie@uniontech.com> | 2023-04-19 10:05:41 +0800 |
---|---|---|
committer | lilinjie <lilinjie@uniontech.com> | 2023-04-19 10:05:41 +0800 |
commit | 0a9a61eb826a12e8f30559a8460605b3b02a61b5 (patch) | |
tree | f5f63378032f4ec07d2c2f9fd39dd2fb889caab5 | |
parent | 66369a66fa85981ab7a5e1dffd4ff7109bf4fa54 (diff) | |
download | ply-0a9a61eb826a12e8f30559a8460605b3b02a61b5.tar.gz |
fix typo
Signed-off-by: lilinjie <lilinjie@uniontech.com>
-rw-r--r-- | example/ansic/clex.py | 4 | ||||
-rw-r--r-- | example/ctokens/ctokens.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/example/ansic/clex.py b/example/ansic/clex.py index 5d99416..bf917a7 100644 --- a/example/ansic/clex.py +++ b/example/ansic/clex.py @@ -38,7 +38,7 @@ tokens = reserved + ( # Conditional operator (?) 'CONDOP', - # Delimeters ( ) [ ] { } , . ; : + # Delimiters ( ) [ ] { } , . ; : 'LPAREN', 'RPAREN', 'LBRACKET', 'RBRACKET', 'LBRACE', 'RBRACE', @@ -104,7 +104,7 @@ t_ARROW = r'->' # ? t_CONDOP = r'\?' -# Delimeters +# Delimiters t_LPAREN = r'\(' t_RPAREN = r'\)' t_LBRACKET = r'\[' diff --git a/example/ctokens/ctokens.py b/example/ctokens/ctokens.py index b265e59..195efa7 100644 --- a/example/ctokens/ctokens.py +++ b/example/ctokens/ctokens.py @@ -30,7 +30,7 @@ tokens = [ # Ternary operator (?) 'TERNARY', - # Delimeters ( ) [ ] { } , . ; : + # Delimiters ( ) [ ] { } , . ; : 'LPAREN', 'RPAREN', 'LBRACKET', 'RBRACKET', 'LBRACE', 'RBRACE', @@ -86,7 +86,7 @@ t_ARROW = r'->' # ? t_TERNARY = r'\?' -# Delimeters +# Delimiters t_LPAREN = r'\(' t_RPAREN = r'\)' t_LBRACKET = r'\[' |