From 8cda9875fd71cbdd24a7ee95357cf3f202e19727 Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta <6977238-fiplox@users.noreply.gitlab.com> Date: Sat, 7 Nov 2020 19:37:55 +0100 Subject: [PATCH] sorry, it was not panic-proof ><, fixed --- conf.pest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.pest b/conf.pest index 67df1e6..3b8810b 100644 --- a/conf.pest +++ b/conf.pest @@ -1,3 +1,3 @@ -world = { ASCII_DIGIT* ~ " " ~ ASCII_DIGIT* } -robot_init = { ASCII_DIGIT* ~ " " ~ ASCII_DIGIT* ~ " " ~ ("S" | "N" | "W" | "E") } +world = { ASCII_DIGIT+ ~ " " ~ ASCII_DIGIT+ } +robot_init = { ASCII_DIGIT+ ~ " " ~ ASCII_DIGIT+ ~ " " ~ ("S" | "N" | "W" | "E") } robot_instructions = { ASCII_ALPHA_UPPER+ }