On 19/02/2021 09:59, Geoff Clare via austin-group-l at The Open Group wrote:
How about changing that problem sentence in 2.10.1 to:

     When a TOKEN is seen where one of those annotated productions could
     be used to reduce the symbol, the applicable rule shall be applied to
     convert the token identifier type of the TOKEN to:

     * The token identifier of the recognized reserved word, for rule 1.
     * A token identifier acceptable at that point in the grammar, for
       all other rules.

This change would allow

  case esac in
  (esac) echo match
  esac

which is currently invalid and rejected by bash, and when invoked in POSIX mode, also rejected by yash and zsh. Should that become valid, or should that remain an error?

(Accidentally sent only to Geoff, re-sending to the list.)

Cheers,
Harald van Dijk

  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
      • Re:... Robert Elz via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
      • Re:... Geoff Clare via austin-group-l at The Open Group
        • ... Harald van Dijk via austin-group-l at The Open Group
          • ... Geoff Clare via austin-group-l at The Open Group
            • ... Harald van Dijk via austin-group-l at The Open Group
              • ... Geoff Clare via austin-group-l at The Open Group
                • ... Donn Terry via austin-group-l at The Open Group
                • ... Chet Ramey via austin-group-l at The Open Group
                • ... Harald van Dijk via austin-group-l at The Open Group
                • ... Geoff Clare via austin-group-l at The Open Group
                • ... Chet Ramey via austin-group-l at The Open Group
                • ... Harald van Dijk via austin-group-l at The Open Group
                • ... Geoff Clare via austin-group-l at The Open Group

Reply via email to