From 64294f5cd6ab67236625cf4d645debafc35d0055 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 24 May 2018 21:16:51 -0700 Subject: Removed the Word tree type and replaced it with raw strings, since they're only used as part of Actions --- nomsu.peg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.peg') diff --git a/nomsu.peg b/nomsu.peg index afc5580..b063ea0 100644 --- a/nomsu.peg +++ b/nomsu.peg @@ -50,7 +50,7 @@ inline_action (Action): action (Action): (expression (dotdot? %ws*))* word ((dotdot? %ws*) (expression / word))* -word (Word): { %operator / (!number plain_word) } +word: { %operator / (!number plain_word) } text_word (Text): {%operator / (!number plain_word)} -- cgit v1.2.3