From c51eee0e521c27277c8ef1a64f91249473287617 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Tue, 20 Aug 2019 15:48:03 -0400 Subject: [PATCH] Editorial: Merge 'ExtendedAtom' and 'Atom' Note that: ExtendedAtom was only ever 'invoked' under [~U], and when the merged production is invoked with [~U], it exactly reproduces the RHSs of ExtendedAtom. Atom was only ever invoked under [+U], and when the merged production is invoked with [+U], it reproduces the RHSs of former Atom except for the placement of the PatternCharacter RHS, but that's okay, because former Atom wasn't an order-disambiguated production. --- spec.html | 49 +++++++++++++++++++------------------------------ 1 file changed, 19 insertions(+), 30 deletions(-) diff --git a/spec.html b/spec.html index 2e6d9b16edc..84b4e3a361a 100644 --- a/spec.html +++ b/spec.html @@ -29494,8 +29494,8 @@

Patterns

[+U] Atom[+U, ?N] Quantifier [~U] QuantifiableAssertion[~U, ?N] Quantifier [~U] Assertion[~U, ?N] - [~U] ExtendedAtom[?N] Quantifier - [~U] ExtendedAtom[?N] + [~U] Atom[~U, ?N] Quantifier + [~U] Atom[~U, ?N] Assertion[U, N] :: `^` @@ -29522,23 +29522,17 @@

Patterns

`{` DecimalDigits `,` `}` `{` DecimalDigits `,` DecimalDigits `}` - ExtendedAtom[N] ::! - `.` - `\` AtomEscape[~U, ?N] - `\` [lookahead == `c`] - CharacterClass[~U] - `(` Disjunction[~U, ?N] `)` - `(` `?` `:` Disjunction[~U, ?N] `)` - InvalidBracedQuantifier - ExtendedPatternCharacter - - Atom[U, N] :: - PatternCharacter + Atom[U, N] ::! `.` `\` AtomEscape[?U, ?N] + [~U] `\` [lookahead == `c`] CharacterClass[?U] - `(` GroupSpecifier[?U] Disjunction[?U, ?N] `)` + [+U] `(` GroupSpecifier[?U] Disjunction[?U, ?N] `)` + [~U] `(` Disjunction[?U, ?N] `)` `(` `?` `:` Disjunction[?U, ?N] `)` + [~U] InvalidBracedQuantifier + [+U] PatternCharacter + [~U] ExtendedPatternCharacter InvalidBracedQuantifier :: `{` DecimalDigits `}` @@ -29762,7 +29756,7 @@

Static Semantics: Early Errors

It is a Syntax Error if the MV of the first |DecimalDigits| is larger than the MV of the second |DecimalDigits|. - ExtendedAtom :: InvalidBracedQuantifier + Atom :: InvalidBracedQuantifier