Skip to content

Echo without quotes seems to fail #59

@njlr

Description

@njlr
> var parse = require('bash-parser')
undefined
> parse('echo };')
Error: Parse error on line 1: Unexpected 'Rbrace'

However, this seems to be valid:

$ echo };
}

Version:

bash-parser@^0.5.0:
  version "0.5.0"
  resolved "https://registry.yarnpkg.com/bash-parser/-/bash-parser-0.5.0.tgz#bca3adb4241a0f15c5ab1026e5c5685a9dade7ea"
  integrity sha512-AQR43o4W4sj4Jf+oy4cFtGgyBps4B+MYnJg6Xds8VVC7yomFtQekhOORQNHfQ8D6YJ0XENykr3TpxMn3rUtgeg==

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