Skip to content

Commit

Permalink
Add Bash datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
kiy4h committed Sep 29, 2019
1 parent 9b62d85 commit 98aeb23
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
3 changes: 3 additions & 0 deletions data/Delimiter/bash_multiline_comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: comment
start: ": '"
end: "'"
4 changes: 4 additions & 0 deletions data/Delimiter/bash_single_quote_escape.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type: string
start: "'"
end: "'"
escape: "'\\'"
31 changes: 29 additions & 2 deletions data/Language/Bash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,32 @@ identifier: Bash
wikidata: Q189248
extensions:
- sh
line_continuation:
- backslash
aliases:
- bash
line_continuation: '\'
delimiters:
# comment delimiters:
- hash
- bash_multiline_comment
# string delimiters:
- c_char
- backticks
- double_quote_slash_escape
- bash_single_quote_escape
keywords:
- if
- then
- else
- elif
- fi
- case
- esac
- for
- select
- while
- until
- do
- done
- in
- function
- time

0 comments on commit 98aeb23

Please sign in to comment.