diff options
| author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-12 02:27:12 +0200 | 
|---|---|---|
| committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:24:14 +0200 | 
| commit | b57cb741f8982c806022ff469fcf468df8e36d4e (patch) | |
| tree | 990f85293a926316589c8269ac33046816f3333b /testdata | |
| parent | fc852147529c6c98a7ad4a2aaea6a9aa14982562 (diff) | |
Issue an error messages if tokens are ambiguous
Diffstat (limited to 'testdata')
3 files changed, 48 insertions, 0 deletions
| diff --git a/testdata/integration/user_defined_syntax/ambiguous_tokens1.fail.osml b/testdata/integration/user_defined_syntax/ambiguous_tokens1.fail.osml new file mode 100644 index 0000000..ffc0d64 --- /dev/null +++ b/testdata/integration/user_defined_syntax/ambiguous_tokens1.fail.osml @@ -0,0 +1,16 @@ +\document +\ontology#test +	\struct#test[root=true] +		\field +			\childRef[a] +			\childRef[b] +	\struct#a +		\syntax +			\open{=} +	\struct#b +		\syntax +			\short{=} + +\begin{test} += +\end{test} diff --git a/testdata/integration/user_defined_syntax/ambiguous_tokens2.fail.osml b/testdata/integration/user_defined_syntax/ambiguous_tokens2.fail.osml new file mode 100644 index 0000000..cf01bfc --- /dev/null +++ b/testdata/integration/user_defined_syntax/ambiguous_tokens2.fail.osml @@ -0,0 +1,16 @@ +\document +\ontology#test +	\struct#test[root=true] +		\field +			\childRef[a] +			\childRef[b] +	\struct#a +		\syntax +			\open{=} +	\struct#b +		\syntax +			\open{=} + +\begin{test} += +\end{test} diff --git a/testdata/integration/user_defined_syntax/ambiguous_tokens3.fail.osml b/testdata/integration/user_defined_syntax/ambiguous_tokens3.fail.osml new file mode 100644 index 0000000..719ae08 --- /dev/null +++ b/testdata/integration/user_defined_syntax/ambiguous_tokens3.fail.osml @@ -0,0 +1,16 @@ +\document +\ontology#test +	\struct#test[root=true] +		\field +			\childRef[a] +			\childRef[b] +	\struct#a +		\syntax +			\short{=} +	\struct#b +		\syntax +			\short{=} + +\begin{test} += +\end{test} | 
