Skip to content

Commit

Permalink
enh(bash) add time and coproc reserved keywords (#4113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored Sep 6, 2024
1 parent 8a96101 commit b966ec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Core Grammars:
- enh(erlang) OTP25/27 maybe statement [nixxquality][]
- enh(dart) Support digit-separators in number literals [Sam Rawlins][]
- enh(csharp) add Contextual keywords `file`, `args`, `dynamic`, `record`, `required` and `scoped` [Alvin Joy][]
- enh(bash) add reserved keywords `time` and `coproc` [Álvaro Mondéjar][]
- fix(c) - Fixed hex numbers with decimals [Dxuian]
- fix(ruby) - fix `|=` operator false positives (as block arguments) [Aboobacker MK]

Expand Down Expand Up @@ -47,6 +48,7 @@ CONTRIBUTORS
[Aboobacker MK]: https://github.com/tachyons
[Imken]: https://github.com/immccn123
[Osmocom]: https://github.com/osmocom
[Álvaro Mondéjar]: https://github.com/mondeja


## Version 11.10.0
Expand Down
2 changes: 2 additions & 0 deletions src/languages/bash.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export default function(hljs) {
"else",
"elif",
"fi",
"time",
"for",
"while",
"until",
Expand All @@ -131,6 +132,7 @@ export default function(hljs) {
"done",
"case",
"esac",
"coproc",
"function",
"select"
];
Expand Down

0 comments on commit b966ec2

Please sign in to comment.