]> git.ipfire.org Git - thirdparty/git.git/commit
chainlint.pl: add POSIX shell lexical analyzer
authorEric Sunshine <sunshine@sunshineco.com>
Thu, 1 Sep 2022 00:29:40 +0000 (00:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Sep 2022 17:07:40 +0000 (10:07 -0700)
commit7d4804731ed642b92b516908fb93397b08e986bf
tree0fc95e4067edfc33f396adf80f86361b2967d81e
parentb4f25b07c74fc294cab6c12d09faa2021c67f25a
chainlint.pl: add POSIX shell lexical analyzer

Begin fleshing out chainlint.pl by adding a lexical analyzer for the
POSIX shell command language. The sole entry point Lexer::scan_token()
returns the next token from the input. It will be called by the upcoming
shell language parser.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/chainlint.pl