aboutsummaryrefslogtreecommitdiff
path: root/nomsu.6.peg
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-01 15:52:56 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-01 15:53:21 -0800
commita82b0d9d2435cca72629c1e5e73cdcb89f728ac0 (patch)
tree638cd1b321dde44e200d3346e5b6fd0152774470 /nomsu.6.peg
parentb6d3cbd61cd08e39d20a569b7c5ece6bb25897dd (diff)
Added support for $(foo 1 baz 2) as a way to access (foo 1 baz 2)'s
meaning.
Diffstat (limited to 'nomsu.6.peg')
-rw-r--r--nomsu.6.peg2
1 files changed, 1 insertions, 1 deletions
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) <-