blob: b00b50e8c6a9dc7b3e7a7197eb1fa2c5c42a6de0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Diff language definition file
#
# Author: Andre Simon
# Mail: andre.simon1@gmx.de
# Date: 02.10.2007
# ------------------------------------------
# This file is a part of highlight, a free source code converter released under the GPL.
#
# The file is used to describe keywords and special symbols of programming languages.
# See README in the highlight directory for details.
#
# New definition files for future releases of highlight are always appreciated ;)
# ----------
# andre.simon1@gmx.de
# http:/www.andre-simon.de/
$DESCRIPTION=Diff
$KEYWORDS(kwa)=regex(^diff .*$)
$KEYWORDS(kwe)=regex(^[+<].*)
$KEYWORDS(kwb)=regex(^[->].*)
$KEYWORDS(kwc)=regex(^\.$)
$KEYWORDS(kwd)=regex(^@@.*@@$)
$KEYWORDS(kwd)=regex(^@@ -[0-9]*,[0-9]* \+[0-9]*,[0-9]* @@)
$DIGIT=regex(^[\d,]*[ac]\d*)
$SL_COMMENT=regex(^\-\-\-$)
|