Jason Rudolph 4f3cbc36b9 Handle heredoc delimiters that include spaces (#47)
* Handle heredoc delimiters that include spaces

* Update test to use multi-line heredoc to demonstrate bug

This change demonstrates the bug described in 
https://github.com/tree-sitter/tree-sitter-bash/pull/47#discussion_r280183823.

* Handle multi-line heredocs with spaces in delimiter

Fixes the failing test introduced in 0d8adbc335.

/xref https://github.com/tree-sitter/tree-sitter-bash/pull/47#discussion_r280183823
2019-05-01 13:59:21 -07:00
2018-08-06 10:03:34 -07:00
2017-07-14 13:54:05 -07:00
2019-04-18 15:46:58 -07:00
2017-07-14 12:28:54 -07:00
2017-07-14 14:46:24 -07:00
2019-05-01 12:28:34 -07:00
2018-08-06 10:03:34 -07:00

tree-sitter-bash

Build Status Build status

Bash grammar for tree-sitter.

Development

Install the dependencies:

npm install

Build and run the tests:

npm run build
npm run test

Run the build and tests in watch mode:

npm run test:watch

References

Description
No description provided
Readme 11 MiB
Languages
JavaScript 70.9%
Rust 16.6%
C++ 5%
Scheme 3.3%
Shell 2.2%
Other 2%