Kenneth Skovhus
8ece09ca4c
Add support for case fallthrough ( #85 )
...
Fixes https://github.com/tree-sitter/tree-sitter-bash/issues/40
2020-05-29 13:09:38 -07:00
Kenneth Skovhus
38e8ba4a3d
Expand function definition to support subshell and tests ( #83 )
...
Fixes https://github.com/tree-sitter/tree-sitter-bash/issues/60
2020-05-15 11:25:46 -07:00
Kenneth Skovhus
0477cc4460
Add support for ternary expression ( #81 )
...
Fixes https://github.com/tree-sitter/tree-sitter-bash/issues/64
2020-05-15 10:50:29 -07:00
Max Brunsfeld
de690d849a
Start adding fields
2019-12-10 13:18:29 -08:00
Max Brunsfeld
e9748c132b
Require a terminator at the ends of some compound statements
...
Fixes #44
2019-04-18 15:38:39 -07:00
Max Brunsfeld
25f56dd856
Allow $ at the end of a bare word
...
Fixes #38
2018-11-04 15:34:33 -08:00
Max Brunsfeld
cdbc8863cd
Allow compound statements and redirects in more places
...
Fixes #35
2018-10-18 11:06:03 -07:00
Kenneth Skovhus
08cf72b615
[WIP] Support multiple statements ( #26 )
...
* Rename prebuild target clashing with build target
* Add test:watch target and documentation
* Support multiple statements in substitutions
* Inline the _statements rule
This removes a reduction step by the `_statements -> _statement` rule,
which avoids a reduce/reduce conflict between `_statements` and
`command`.
2018-08-06 10:39:05 -07:00
Kenneth Skovhus
9bbd80dee1
Add support for C-style for statements ( #23 )
2018-08-05 19:25:19 -07:00
Max Brunsfeld
065a4ec425
Rework test expressions
...
Fixes #11
2018-05-24 11:47:12 -07:00
Max Brunsfeld
2d96fc5fcb
Add more code to the case statements test
2018-03-16 15:41:09 -07:00
Max Brunsfeld
68e93bd898
Allow for statements without in clauses
2018-03-02 10:18:42 -08:00
Max Brunsfeld
87a832d94e
Allow regexes after '==', not just '=~'
2018-03-01 14:22:38 -08:00
Max Brunsfeld
c7484ad85f
Allow ;; at end of line of case item
2018-03-01 14:04:29 -08:00
Max Brunsfeld
f33bf06de2
Distinguish unset commands from regular commands
2018-03-01 10:12:10 -08:00
Max Brunsfeld
69d64558a3
Rename control_flow test file to statements
2018-03-01 10:06:38 -08:00