comparison MoinMoin/support/pygments/lexers/foxpro.py @ 6097:815981fad7fd

upgrade pygments from 1.6 to 2.1.3
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 05 Sep 2016 23:55:33 +0200
parents b48a69886ca4
children
comparison
equal deleted inserted replaced
6096:86a41c2bedec 6097:815981fad7fd
3 pygments.lexers.foxpro 3 pygments.lexers.foxpro
4 ~~~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~~~
5 5
6 Simple lexer for Microsoft Visual FoxPro source code. 6 Simple lexer for Microsoft Visual FoxPro source code.
7 7
8 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2015 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
22 """Lexer for Microsoft Visual FoxPro language. 22 """Lexer for Microsoft Visual FoxPro language.
23 23
24 FoxPro syntax allows to shorten all keywords and function names 24 FoxPro syntax allows to shorten all keywords and function names
25 to 4 characters. Shortened forms are not recognized by this lexer. 25 to 4 characters. Shortened forms are not recognized by this lexer.
26 26
27 *New in Pygments 1.6.* 27 .. versionadded:: 1.6
28 """ 28 """
29 29
30 name = 'FoxPro' 30 name = 'FoxPro'
31 aliases = ['Clipper', 'XBase'] 31 aliases = ['foxpro', 'vfp', 'clipper', 'xbase']
32 filenames = ['*.PRG', '*.prg'] 32 filenames = ['*.PRG', '*.prg']
33 mimetype = [] 33 mimetype = []
34 34
35 flags = re.IGNORECASE | re.MULTILINE 35 flags = re.IGNORECASE | re.MULTILINE
36 36