From abfbee8595a6ba175f899f4dbca9f56c58a7a5e9 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Thu, 2 Apr 2015 11:42:07 +0200 Subject: Rename simple_short_token test to token_escape, luckily there was no real bug involved here --- .../user_defined_syntax/token_escaping.in.osml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testdata/integration/user_defined_syntax/token_escaping.in.osml (limited to 'testdata/integration/user_defined_syntax/token_escaping.in.osml') diff --git a/testdata/integration/user_defined_syntax/token_escaping.in.osml b/testdata/integration/user_defined_syntax/token_escaping.in.osml new file mode 100644 index 0000000..66ad1eb --- /dev/null +++ b/testdata/integration/user_defined_syntax/token_escaping.in.osml @@ -0,0 +1,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} -- cgit v1.2.3