diff --git a/spec.bs b/spec.bs index 876f065..b210a5d 100644 --- a/spec.bs +++ b/spec.bs @@ -1324,12 +1324,12 @@ 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|. 1. Run [=consume a required token=] given |parser| and "`close`". - 1. Set |modifier token| to the result of running [=try to consume a modifier token=] given |parser|. + 1. Let |modifier token| be the result of running [=try to consume a modifier token=] given |parser|. 1. Run [=add a part=] given |parser|, |prefix|, |name token|, |regexp or wildcard token|, |suffix|, and |modifier token|. 1. [=Continue=]. 1. Run [=maybe add a part from the pending fixed value=] given |parser|.