Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Echo without quotes seems to fail #59

Open
njlr opened this issue Oct 5, 2018 · 0 comments
Open

Echo without quotes seems to fail #59

njlr opened this issue Oct 5, 2018 · 0 comments

Comments

@njlr
Copy link

njlr commented Oct 5, 2018

> 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==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant