summaryrefslogtreecommitdiff
path: root/support/highlight/langDefs/spec.lang
blob: db8427e9f270c4907c68a0106988cba7166ccd71 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# RPM Spec language definition file
#
# Author Andre Simon
#   Mail andre.simon1@gmx.de
#   Date 08.02.04
# Update 28.05.09 added some keywords
# ------------------------------------------
# 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=RPM Spec

$KEYWORDS(kwa)=Summary Name Version Release Copyright Group URL Packager Prefix 
Distribution Vendor  Icon Provides Requires Serial Conflicts AutoReqProv
BuildArch ExcludeArch ExclusiveArch ExclusiveOS  BuildRoot NoSource NoPatch
License Buildroot Source Patch case in esac for do done function if then fi elif
Source0 Patch0 Source1 Patch1 Source2 Patch2 Source3 Patch3 Source4 Patch4 Source5 Patch5 Source6 Patch6 Source7 Patch7 Source8 Patch8 Source9 Patch9 Source10 Patch10 Source11 Patch11 Source12 Patch12 Source13 Patch13 Source14 Patch14 Source15 Patch15 Source16 Patch16 Source17 Patch17 Source18 Patch18 Source19 Patch19 Source20 Patch20 Source21 Patch21 Source22 Patch22 Source23 Patch23 Source24 Patch24 Source25 Patch25 Source26 Patch26 Source27 Patch27 Source28 Patch28 Source29 Patch29 Source30 Patch30
else select time  until  while source alias bind break builtin command continue
declare dirs disown echo enable export fc fg getopts hash help history jobs 
let local logout popd printf pushd pwd read readonly return set  shift shopt
else select time  until  while source alias bind break builtin command continue
declare dirs disown echo enable export fc fg getopts hash help history jobs 
let local logout popd printf pushd pwd read readonly return set  shift shopt
suspend test times trap type ulimit umask unalias unset wait eval bg cd echo
eval exec exit kill read set test trap ulimit umask wait mkdir install make rm
rmdir

$KEYWORDS(kwb)=regex(\%\w+)

$SL_COMMENT=#

$IGNORECASE=false

$KEYWORDS(kwc)=regex((\%\{.+\}))

$SYMBOLS= ( ) [ ] { } , ; : & | < > !  = / *  + -