summaryrefslogtreecommitdiff
path: root/tests/test.pest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.pest')
-rw-r--r--tests/test.pest7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test.pest b/tests/test.pest
index c86a65f..95d484e 100644
--- a/tests/test.pest
+++ b/tests/test.pest
@@ -2,11 +2,13 @@
//! And this is a example for JSON parser.
//!
//! indent-4-space
+//!
/// Matches foo str, e.g.: `foo`
foo = { "foo" }
-/// Matches bar str,
+/// Matches bar str
+///
/// Indent 2, e.g: `bar` or `foobar`
bar = { "bar" | "foobar" }
@@ -14,7 +16,8 @@ bar = { "bar" | "foobar" }
bar1 = { "bar1" }
/// Matches dar
-
+///
/// Match dar description
+///
dar = { "da" } \ No newline at end of file