ThirdParty/Pygments/pygments/lexers/modula2.py

changeset 5713
6762afd9f963
parent 4697
c2e9bf425554
equal deleted inserted replaced
5712:f0d08bdeacf4 5713:6762afd9f963
3 pygments.lexers.modula2 3 pygments.lexers.modula2
4 ~~~~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~~~~
5 5
6 Multi-Dialect Lexer for Modula-2. 6 Multi-Dialect Lexer for Modula-2.
7 7
8 :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 11
12 import re 12 import re
13 13
288 # Distinguish |* and * in M2 R10 288 # Distinguish |* and * in M2 R10
289 (r'\|\*', Punctuation), 289 (r'\|\*', Punctuation),
290 ], 290 ],
291 'unigraph_punctuation': [ 291 'unigraph_punctuation': [
292 # Common Punctuation 292 # Common Punctuation
293 (r'[\(\)\[\]{},.:;\|]', Punctuation), 293 (r'[()\[\]{},.:;|]', Punctuation),
294 # Case Label Separator Synonym 294 # Case Label Separator Synonym
295 (r'!', Punctuation), # ISO 295 (r'!', Punctuation), # ISO
296 # Blueprint Punctuation 296 # Blueprint Punctuation
297 (r'\?', Punctuation), # M2R10 + ObjM2 297 (r'\?', Punctuation), # M2R10 + ObjM2
298 ], 298 ],

eric ide

mercurial