diff options
author | Kian-Meng Ang <kianmeng.ang@gmail.com> | 2022-01-19 04:00:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 21:00:07 +0100 |
commit | 2a0cecbb5037d04f1ecbf5f2336ef26813e2967c (patch) | |
tree | e6bcb5d33ebb82d76f8a4ebf4c54e493f69839d4 /pygments/lexers/urbi.py | |
parent | 2a640662cc0480e043b8d5a5b34586246255ac98 (diff) | |
download | pygments-git-2a0cecbb5037d04f1ecbf5f2336ef26813e2967c.tar.gz |
Fix typos (#2030)
Diffstat (limited to 'pygments/lexers/urbi.py')
-rw-r--r-- | pygments/lexers/urbi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/urbi.py b/pygments/lexers/urbi.py index d9c1c9f8..25ad3cd0 100644 --- a/pygments/lexers/urbi.py +++ b/pygments/lexers/urbi.py @@ -51,7 +51,7 @@ class UrbiscriptLexer(ExtendedRegexLexer): ctx.pos += len(result) return - # if blob is well formated, yield as Escape + # if blob is well formatted, yield as Escape blob_text = blob_start + ctx.text[match.end():match.end()+blob_size] + ")" yield match.start(), String.Escape, blob_text ctx.pos = match.end() + blob_size + 1 # +1 is the ending ")" @@ -78,9 +78,9 @@ class UrbiscriptLexer(ExtendedRegexLexer): 'struct', 'template', 'typedef', 'typeid', 'typename', 'union', 'unsigned', 'using', 'virtual', 'volatile', 'wchar_t'), suffix=r'\b'), Keyword.Reserved), - # deprecated keywords, use a meaningfull token when available + # deprecated keywords, use a meaningful token when available (r'(emit|foreach|internal|loopn|static)\b', Keyword), - # ignored keywords, use a meaningfull token when available + # ignored keywords, use a meaningful token when available (r'(private|protected|public)\b', Keyword), (r'(var|do|const|function|class)\b', Keyword.Declaration), (r'(true|false|nil|void)\b', Keyword.Constant), |