colis-anr / morbig

A static parser for POSIX Shell
Other
190 stars 8 forks source link

':' wrongly stripped in word_csts #54

Closed Niols closed 5 years ago

Niols commented 5 years ago

For instance the following:

${parameter:-word}
${parameter-word}

is parsed just like:

${parameter-word}
${parameter-word}

see https://github.com/colis-anr/morbig/blob/master/tests/good/2.6-word-expansions/2.6.2-parameter-expansion/basic.sh for instance.

yurug commented 5 years ago

Closed by #66