summaryrefslogtreecommitdiff
path: root/pygments/lexers/prolog.py
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng.ang@gmail.com>2022-01-19 04:00:07 +0800
committerGitHub <noreply@github.com>2022-01-18 21:00:07 +0100
commit2a0cecbb5037d04f1ecbf5f2336ef26813e2967c (patch)
treee6bcb5d33ebb82d76f8a4ebf4c54e493f69839d4 /pygments/lexers/prolog.py
parent2a640662cc0480e043b8d5a5b34586246255ac98 (diff)
downloadpygments-git-2a0cecbb5037d04f1ecbf5f2336ef26813e2967c.tar.gz
Fix typos (#2030)
Diffstat (limited to 'pygments/lexers/prolog.py')
-rw-r--r--pygments/lexers/prolog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/prolog.py b/pygments/lexers/prolog.py
index 21c81362..7d255813 100644
--- a/pygments/lexers/prolog.py
+++ b/pygments/lexers/prolog.py
@@ -200,9 +200,9 @@ class LogtalkLexer(RegexLexer):
(r'(>>|<<|/\\|\\\\|\\)', Operator),
# Predicate aliases
(r'\bas\b', Operator),
- # Arithemtic evaluation
+ # Arithmetic evaluation
(r'\bis\b', Keyword),
- # Arithemtic comparison
+ # Arithmetic comparison
(r'(=:=|=\\=|<|=<|>=|>)', Operator),
# Term creation and decomposition
(r'=\.\.', Operator),
@@ -213,7 +213,7 @@ class LogtalkLexer(RegexLexer):
# Evaluable functors
(r'(//|[-+*/])', Operator),
(r'\b(e|pi|div|mod|rem)\b', Operator),
- # Other arithemtic functors
+ # Other arithmetic functors
(r'\b\*\*\b', Operator),
# DCG rules
(r'-->', Operator),