summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Beazley <dave@dabeaz.com>2023-04-19 10:20:41 -0500
committerGitHub <noreply@github.com>2023-04-19 10:20:41 -0500
commit5c4dc94d4c6d059ec127ee1493c735963a5d2645 (patch)
treef5f63378032f4ec07d2c2f9fd39dd2fb889caab5
parent66369a66fa85981ab7a5e1dffd4ff7109bf4fa54 (diff)
parent0a9a61eb826a12e8f30559a8460605b3b02a61b5 (diff)
downloadply-master.tar.gz
Merge pull request #284 from uniontech-lilinjie/masterHEADmaster
fix typo
-rw-r--r--example/ansic/clex.py4
-rw-r--r--example/ctokens/ctokens.py4
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'\['