diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-17 14:38:05 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-17 14:39:08 -0800 |
| commit | 7f47d4204039258cec78c767f489b7809b4257ff (patch) | |
| tree | c8533068b75ab453accfe1f688705e9e94c9e279 /nomsu.4.peg | |
| parent | 34a3dd22a4e132bd4e0fe3ce89831c3fe761d3d9 (diff) | |
In-progress (but working) overhaul of some elements including: function
calls, lib/thing.nom API, multi-assignments, varargs, etc.
Diffstat (limited to 'nomsu.4.peg')
| -rw-r--r-- | nomsu.4.peg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nomsu.4.peg b/nomsu.4.peg index b2e636f..7ca8423 100644 --- a/nomsu.4.peg +++ b/nomsu.4.peg @@ -118,14 +118,14 @@ inline_action (Action): ( (inline_arg (ws* (inline_arg / word))+) / (word (ws* (inline_arg / word))*)) (ws* inline_block)? -inline_arg: inline_expression / inline_block +inline_arg: inline_expression / inline_block / "(" ws* ")" action (Action): !section_division ({:target: (expression / "(" inline_block ")" / indented_block) :} ((ws* "\")? eol nl_nodent "..")? ws* "::" ((ws* "\")? eol nl_nodent "..")? ws*)? ( (arg (((ws* "\")? eol nl_nodent "..")? ws* (arg / word))+) / (word (((ws* "\")? eol nl_nodent "..")? ws* (arg / word))*)) -arg: expression / inline_block / indented_block +arg: expression / inline_block / indented_block / "(" ws* ")" word: !number { operator_char+ / ident_char+ } |
