summaryrefslogtreecommitdiff
path: root/src/shared_string.cc
diff options
context:
space:
mode:
authorLennard <lennard.hofmann@web.de>2020-01-12 10:35:56 +0000
committerLennard Hofmann <lennard.hofmann@web.de>2020-01-12 11:41:12 +0100
commita8bbdc71d9c9e7ac1d50fdaee6ed3918ef93902b (patch)
tree321ff08b5762ccdcf4cefb1f3f25b0daad3b80d5 /src/shared_string.cc
parentb85365bff85f5db3cf4a160dfad8b3590b6926a0 (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