Skip to content

Parser fails on some expressions containing '#' #100

Closed
@simonfxr

Description

@simonfxr

The parser fails on some expressions where '#' should not be interpreted as the start of a comment.
Examples:

  • Interpret number in a certain base: dec=$((10#$x))
  • Referring to the number of positional parameters : last=${!#}, n=${#}

This language server is really useful in working with large collections of shell scripts! Fixing these corner cases would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions