summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-24 19:50:35 +0200
committergbrandl <devnull@localhost>2006-10-24 19:50:35 +0200
commit9bbdbb7c9dbe9e8f0c227eee5da5846533a6f5c9 (patch)
tree5127676524e6bb9653ce6219b6a895e473c4418f
parentcd6c4550cbc74c3723ea03c1380f67ac349962b4 (diff)
downloadpygments-9bbdbb7c9dbe9e8f0c227eee5da5846533a6f5c9.tar.gz
[svn] Add "bf" brainfuck alias.
-rw-r--r--pygments/lexers/_mapping.py2
-rw-r--r--pygments/lexers/other.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index 49e386f4..8d95bee0 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -15,7 +15,7 @@
LEXERS = {
'BooLexer': ('pygments.lexers.dotnet', 'Boo', ('boo',), ('*.boo',)),
- 'BrainfuckLexer': ('pygments.lexers.other', 'Brainfuck', ('brainfuck',), ('*.bf', '*.b')),
+ 'BrainfuckLexer': ('pygments.lexers.other', 'Brainfuck', ('brainfuck', 'bf'), ('*.bf', '*.b')),
'CLexer': ('pygments.lexers.compiled', 'C', ('c',), ('*.c', '*.h')),
'CSharpLexer': ('pygments.lexers.dotnet', 'C#', ('csharp', 'c#'), ('*.cs',)),
'CppLexer': ('pygments.lexers.compiled', 'C++', ('cpp', 'c++'), ('*.cpp', '*.hpp', '*.c++', '*.h++')),
diff --git a/pygments/lexers/other.py b/pygments/lexers/other.py
index 0cd71056..de9f5ccc 100644
--- a/pygments/lexers/other.py
+++ b/pygments/lexers/other.py
@@ -126,7 +126,7 @@ class SqlLexer(RegexLexer):
class BrainfuckLexer(RegexLexer):
name = 'Brainfuck'
- aliases = ['brainfuck']
+ aliases = ['brainfuck', 'bf']
filenames = ['*.bf', '*.b']
tokens = {