From 6fd88e52937b2e1b59a4b375e4a02caf0e2e7d65 Mon Sep 17 00:00:00 2001 From: Jamie Willis Date: Wed, 31 Jan 2024 15:20:15 +0000 Subject: [PATCH] dangling attempt reference --- parsley/shared/src/main/scala/parsley/errors/combinator.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsley/shared/src/main/scala/parsley/errors/combinator.scala b/parsley/shared/src/main/scala/parsley/errors/combinator.scala index 4f6876560..09ea0cb32 100644 --- a/parsley/shared/src/main/scala/parsley/errors/combinator.scala +++ b/parsley/shared/src/main/scala/parsley/errors/combinator.scala @@ -338,7 +338,7 @@ object combinator { * offset than `p` originally started at. While this sounds like it is the same as "having consumed input" for the * purposes of backtracking, they are disjoint concepts: * - * 1. in `attempt(p)`, `p` can ''observably'' consume input even though the wider parser does not consume input due to the `attempt`. + * 1. in `atomic(p)`, `p` can ''observably'' consume input even though the wider parser does not consume input due to the `atomic`. * 1. in `amend(p)`, `p` can consume input and may not backtrack even though the consumption is not ''observable'' in the error * message due to the `amend`. *