From 27f89faaee6f318edcf4a19b95f01b523d84fe09 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Sep 2017 04:31:46 -0700 Subject: Tweaked apostrophe rules to make %x's %y work. --- examples/parser_tests.nom | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/parser_tests.nom b/examples/parser_tests.nom index 4f8af85..d506d2a 100644 --- a/examples/parser_tests.nom +++ b/examples/parser_tests.nom @@ -192,6 +192,12 @@ test: test: don't fuck this up ..yields ".." - |Call [don't fuck this up]! + |Call [don 't fuck this up]! + +test: + %Brian's hat +..yields ".." + |Call [% 's hat]: + | Var[Brian] say "All tests passed!" -- cgit v1.2.3