From 8cc12625047d7854bfd7ebee2082e69c9cafe566 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 3 Jan 2018 19:26:41 -0800 Subject: Updated examples and made operator characters not stick to each other. Useful for <%x>=6 properly registering as <%x> = 6. --- nomsu.peg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.peg') diff --git a/nomsu.peg b/nomsu.peg index 94b69fb..17a6abe 100644 --- a/nomsu.peg +++ b/nomsu.peg @@ -46,7 +46,7 @@ noeol_functioncall (FunctionCall): functioncall (FunctionCall): {| (expression (dotdot / %ws*))* word ((dotdot / %ws*) (expression / word))* |} -word (Word): { %operator+ / (!number plain_word) } +word (Word): { %operator / (!number plain_word) } inline_string (String): '"' {| -- cgit v1.2.3