From 0d77ad41b330fc1b7695c52ebc1dee4aab60d4e9 Mon Sep 17 00:00:00 2001 From: Jeremy Roman Date: Wed, 8 Jan 2025 16:39:02 -0500 Subject: [PATCH] Editorial: Correct a "set" to "let" This use introduces the variable, so it must be "set" (and grammatically it didn't make sense before, so this is merely a typo). --- spec.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.bs b/spec.bs index ed5e405..06fa366 100644 --- a/spec.bs +++ b/spec.bs @@ -1324,7 +1324,7 @@ To parse a pattern string given a [=/pattern string=] |input|, [=/opt 1. If |open token| is not null: - 1. Set |prefix| be the result of running [=consume text=] given |parser|. + 1. Let |prefix| be the result of running [=consume text=] given |parser|. 1. Set |name token| to the result of running [=try to consume a token=] given |parser| and "`name`". 1. Set |regexp or wildcard token| to the result of running [=try to consume a regexp or wildcard token=] given |parser| and |name token|. 1. Let |suffix| be the result of running [=consume text=] given |parser|.