From 24f85966a290c66f472b476467f75d56042cf226 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Sun, 19 Jun 2022 14:58:14 -0400 Subject: [PATCH] Improve error message. --- src/ludus/parser.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ludus/parser.clj b/src/ludus/parser.clj index 208ea93..31ac634 100644 --- a/src/ludus/parser.clj +++ b/src/ludus/parser.clj @@ -522,7 +522,7 @@ :token (current origin) :length (count ms) :members ms}) - (panic parser "A splat my only appear once in a pattern, at the end of a pattern."))) + (panic parser "A splat my only appear once in a list pattern, at the end of the pattern."))) (::token/comma ::token/newline) (recur