aboutsummaryrefslogtreecommitdiff
path: root/tests/text.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-18 15:44:29 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-18 15:44:35 -0700
commit16d127abb507751808eca65108710d3de1fd3cab (patch)
tree53a78ad2e88a95048eea76426e62c05c2c5102a5 /tests/text.nom
parentfc71b0331b6122c774585c3ab93e6e55978ecaf2 (diff)
Initial working version.
Diffstat (limited to 'tests/text.nom')
-rw-r--r--tests/text.nom5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/text.nom b/tests/text.nom
index a74ac5b..025e793 100644
--- a/tests/text.nom
+++ b/tests/text.nom
@@ -12,8 +12,9 @@ assume ("\n" = (newline)) or barf "Text literals failed."
assume (("x" + "y") = "xy")
assume ((lines in "one\ntwo") = ["one", "two"])
-immediately
- parse [アクション %spec %body] as: action %spec %body
+parse [アクション %spec %body] as: action %spec %body
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%こんにちは <- "こんにちは"
アクション [% と言う]