From e7e84c9eda38c930f5475301de4a449dcf59e8b6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 30 Oct 2018 20:32:14 -0700 Subject: Fix for compiler not parenthesizing method targets, fix for parser not recognizing \ line continuation, and improvements to upgrade tool API. --- nomsu.4.peg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nomsu.4.peg') diff --git a/nomsu.4.peg b/nomsu.4.peg index 06bfead..a3677c6 100644 --- a/nomsu.4.peg +++ b/nomsu.4.peg @@ -121,9 +121,9 @@ inline_action (Action): inline_arg: inline_expression / inline_block action (Action): !section_division - ({:target: arg :} (eol nl_nodent "..")? ws* "::" (eol nl_nodent "..")? ws*)? - ( (arg ((eol nl_nodent "..")? ws* (arg / word))+) - / (word ((eol nl_nodent "..")? ws* (arg / word))*)) + ({:target: arg :} ((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 word: !number { operator_char+ / ident_char+ } -- cgit v1.2.3