Skip to content

Commit b966ec2

Browse files
authored
enh(bash) add time and coproc reserved keywords (#4113)
1 parent 8a96101 commit b966ec2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Core Grammars:
1515
- enh(erlang) OTP25/27 maybe statement [nixxquality][]
1616
- enh(dart) Support digit-separators in number literals [Sam Rawlins][]
1717
- enh(csharp) add Contextual keywords `file`, `args`, `dynamic`, `record`, `required` and `scoped` [Alvin Joy][]
18+
- enh(bash) add reserved keywords `time` and `coproc` [Álvaro Mondéjar][]
1819
- fix(c) - Fixed hex numbers with decimals [Dxuian]
1920
- fix(ruby) - fix `|=` operator false positives (as block arguments) [Aboobacker MK]
2021

@@ -47,6 +48,7 @@ CONTRIBUTORS
4748
[Aboobacker MK]: https://github.com/tachyons
4849
[Imken]: https://github.com/immccn123
4950
[Osmocom]: https://github.com/osmocom
51+
[Álvaro Mondéjar]: https://github.com/mondeja
5052

5153

5254
## Version 11.10.0

src/languages/bash.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export default function(hljs) {
123123
"else",
124124
"elif",
125125
"fi",
126+
"time",
126127
"for",
127128
"while",
128129
"until",
@@ -131,6 +132,7 @@ export default function(hljs) {
131132
"done",
132133
"case",
133134
"esac",
135+
"coproc",
134136
"function",
135137
"select"
136138
];

0 commit comments

Comments
 (0)