diff options
| author | Lennard <lennard.hofmann@web.de> | 2020-01-12 10:35:56 +0000 |
|---|---|---|
| committer | Lennard Hofmann <lennard.hofmann@web.de> | 2020-01-12 11:41:12 +0100 |
| commit | a8bbdc71d9c9e7ac1d50fdaee6ed3918ef93902b (patch) | |
| tree | 321ff08b5762ccdcf4cefb1f3f25b0daad3b80d5 /src/shared_string.cc | |
| parent | b85365bff85f5db3cf4a160dfad8b3590b6926a0 (diff) | |
[sh] Separate keywords and builtins; fix variables
Previously, the keywords were a mess. They contained the shell’s
reserved words and some arbitrarily selected builtins. I generated
the word list using bash because it contains all POSIX builtins and
is common for scripting.
In variable assignments some characters that are allowed to be in
variables used to not be highlighted, e.g. hyphens. With this commit
all characters except whitespace are considered to be part of the
variable.
Diffstat (limited to 'src/shared_string.cc')
0 files changed, 0 insertions, 0 deletions
