summaryrefslogtreecommitdiff
path: root/testdata/integration/user_defined_syntax/token_escaping.in.osml
blob: 66ad1eb62cc6eb4525fa618a145d873f436c232b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%{
	This test checks whether tokens starting with the default field indicator at
	the beginning works by escaping the "!" with a backslash.
}%
\document
\ontology#test{
	\struct#a[root=true]
		\field
			\childRef[ref=b]
			\childRef[ref=c]
	\struct#b
		\syntax
			\short{\!=}
	\struct#c
		\syntax
			\short{=}
}

\begin{a}
= !=
\end{a}