Skip to content

semantic: type missing prefix #67

Description

@r0mainK

The type Parameter_expansion_operator_':-' is missing the bash: prefix, unlike Parameter_expansion_operator_'!' or Parameter_expansion_operator_'-',in Semantic mode.

You can see this by parsing export foo=${foo:-bar}.

Activity

  1. changed the title [-]semantic type missing prefix[/-] [+]semantic: type missing prefix[/+] on Sep 11, 2019
  2. dennwc commented on Sep 12, 2019

    @dennwc
    Member

    Hmm, this one is interesting. Usually, the namespaces transform stage traverses all the nodes and adds namespaces to any node that doesn't have it already. I wonder why this case is different?

  3. r0mainK commented on Sep 23, 2019

    @r0mainK
    Author

    @dennwc found 3 more cases: Parameter_expansion_operator_':+', Parameter_expansion_operator_':=' and Parameter_expansion_operator_':?'.

    I'm guessing there is some issue related to the parsing of :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions