Commit graph

3 commits

Author SHA1 Message Date
tvrinssen 1bf9daef46
Support heredocs (#45)
This adds support for heredocs in Dockerfiles. This required adding an external scanner to store the required state.

Co-authored-by: Camden Cheek <camden@ccheek.com>
2024-04-19 14:08:28 -06:00
Martin Jambon d8defd6796 Disallow whitespace in some multi-fragment constructs.
This is more correct and more robust when rules are reordered, see
https://github.com/camdencheek/tree-sitter-dockerfile/issues/18 and
https://github.com/camdencheek/tree-sitter-dockerfile/issues/19
2022-04-04 19:08:03 -07:00
Camden Cheek b1fbbe6612
Initial working 2021-05-09 20:11:30 -06:00