From a82b0d9d2435cca72629c1e5e73cdcb89f728ac0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 1 Jan 2019 15:52:56 -0800 Subject: Added support for $(foo 1 baz 2) as a way to access (foo 1 baz 2)'s meaning. --- nomsu.6.peg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.6.peg') diff --git a/nomsu.6.peg b/nomsu.6.peg index 6a1725a..344f679 100644 --- a/nomsu.6.peg +++ b/nomsu.6.peg @@ -190,7 +190,7 @@ real_number (Number) <- (("-"? [0-9]+ "." [0-9]+)-> tonumber) -variable (Var) <- "$" ({ident_char+} / "(" {(ws+ / operator_char+ / ident_char+)*} ")" / {''}) +variable (Var) <- "$" ({ident_char+} / "(" ws* inline_action ws* ")" / {''}) inline_list (List) <- -- cgit v1.2.3