aboutsummaryrefslogtreecommitdiffstats
path: root/tests/85-comments-OK.asn1
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-07-02 21:42:40 +0000
committerLev Walkin <vlm@lionet.info>2005-07-02 21:42:40 +0000
commit2535a69eac6ce3abb6e6e9d1b3985bdef63e1c60 (patch)
tree38ea6809ba02a5cc7b4a78f0556eb9759d785a1d /tests/85-comments-OK.asn1
parent7f85ef41ae3bada570ebd7f50ffb456bfe513397 (diff)
Better ambigous comments handling.
Diffstat (limited to 'tests/85-comments-OK.asn1')
-rw-r--r--tests/85-comments-OK.asn123
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/85-comments-OK.asn1 b/tests/85-comments-OK.asn1
new file mode 100644
index 00000000..883eadbf
--- /dev/null
+++ b/tests/85-comments-OK.asn1
@@ -0,0 +1,23 @@
+
+-- OK: Everything is fine
+
+-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+-- .spelio.software.asn1c.test (9363.1.5.1)
+-- .85
+
+ModuleTestComments
+ { iso org(3) dod(6) internet (1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 85 }
+ DEFINITIONS ::=
+BEGIN
+
+ T1 ::= SEQUENCE-- This is a comment-- { ... }
+ T2 ::= SEQUENCE--- This is a comment --- { ... }
+
+ ----- Another ambiguous comment ---
+
+ -- Immediately terminating ambiguous comment ----
+ -------------
+ -- cmt1 ---- cmt2 ----
+
+END