summaryrefslogtreecommitdiff
path: root/support/highlight/langDefs/rnc.lang
blob: f01c949e02f2a7dbfb5121b4973eb453f8ebe3ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Relax NG Compact Syntax <http://www.relaxng.org/compact-20021121.html> 
# definition file for the "highlight" <http://www.andre-simon.de/> source 
# code converter
#
# Author: Christian Siefkes
#   Mail: christian@siefkes.net
#   Date: 2003-10-04

$DESCRIPTION=Relax NG

$KEYWORDS(kwa)=attribute default datatypes div element external grammar include 
inherit list mixed namespace notAllowed parent start

$KEYWORDS(kwb)=empty string text token

$STRINGDELIMITERS=" '

$SL_COMMENT=#

$IGNORECASE=false

$ESCCHAR=regex(\\\d{3}|\\x\p{XDigit}{2}|\\[ntvbrfa\\\?'"])