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. --- core.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core.nom') diff --git a/core.nom b/core.nom index 110fd18..b43d264 100644 --- a/core.nom +++ b/core.nom @@ -285,9 +285,9 @@ rule "dict %items": lua block "vars.dict[vars.pair[1]] = vars.pair[2]" return %dict -rule "%dict -> %key": +rule "%dict 's %key": lua expr "vars.dict[vars.key]" -rule "%dict -> %key = %value": +rule "%dict 's %key = %value": lua block "vars.dict[vars.key] = vars.value" -- cgit v1.2.3