diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-03-27 14:41:36 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-03-27 14:42:13 -0700 |
| commit | 8bf8877ff9fe4495772d9804e8c832fd0530abec (patch) | |
| tree | e1ee321160bf797817b7b8069025d9c08c8a16ea /nomsu.7.peg | |
| parent | 8719641ace1228a9b650c27b8a575cb3d3c4c761 (diff) | |
Added support for $($foo, baz) as equivalent to $foo.baz.
Diffstat (limited to 'nomsu.7.peg')
| -rw-r--r-- | nomsu.7.peg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.7.peg b/nomsu.7.peg index 650623c..18ef9ae 100644 --- a/nomsu.7.peg +++ b/nomsu.7.peg @@ -189,7 +189,7 @@ real_number (Number) <- { (%at_break "-")? [0-9]+ (("_"+->"") [0-9]+)* "." [0-9]+ (("_"+->"") [0-9]+)* } -variable (Var) <- "$" ({ident_char+} / "(" ws* (inline_action / variable) ws* ")" / {''}) +variable (Var) <- "$" ({ident_char+} / "(" ws* (inline_methodchain / inline_action / variable) ws* ")" / {''}) inline_list (List) <- |
