diff options
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), |