From 3138a4c499c6db2d08a2ac8f359cf6396986c74d Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 12 Aug 2024 10:52:12 +0200 Subject: [PATCH] feat: use optional --- takentaal.g4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/takentaal.g4 b/takentaal.g4 index c026de9..40ce9dd 100644 --- a/takentaal.g4 +++ b/takentaal.g4 @@ -12,13 +12,11 @@ line ; plan - : PLAN_TOKEN TEXT - | PLAN_TOKEN TEXT amount + : PLAN_TOKEN TEXT amount? ; task - : TASK_TOKEN TEXT - | TASK_TOKEN TEXT amount + : TASK_TOKEN TEXT amount? ; subtask