Mercurial > moin > 1.9
view MoinMoin/parser/text_pascal.py @ 6101:316986758258
remove MoinMoin.support.difflib
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Tue, 06 Sep 2016 00:21:08 +0200 |
parents | b7ab238032dd |
children |
line wrap: on
line source
# -*- coding: iso-8859-1 -*- """ MoinMoin - Pascal Source Parser DEPRECATED compatibility wrapper calling the highlight parser. This is to support (deprecated) existing syntax like: {{{#!pascal ... ... }}} It is equivalent to the new way to highlight code: {{{#!highlight pascal ... ... }}} @copyright: 2008 MoinMoin:ThomasWaldmann @license: GNU GPL, see COPYING for details. """ from MoinMoin.parser.highlight import Parser as HighlightParser from MoinMoin.parser.highlight import Dependencies class Parser(HighlightParser): parsername = 'pascal' # Lexer name pygments recognizes extensions = [] # this is only a compatibility wrapper, we have declared # support for this extension in the HighlightParser, so # moin will call that directly