diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-05-24 10:19:13 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-05-24 10:19:13 +0300 |
commit | a3494a52d7c01fbc28e7ab12b7af347860aa62a7 (patch) | |
tree | 3ddd49ed32dce757e2bf026c145cfd1b3d50407d /internal | |
parent | f774df6c76c3cf98d7740a00ef63d36e5a5cc0a7 (diff) |
don't leak 'token' local variable in parser (#1407)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/parser.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/parser.zsh b/internal/parser.zsh index dc2082de..6c16adcd 100644 --- a/internal/parser.zsh +++ b/internal/parser.zsh @@ -152,7 +152,7 @@ function _p9k_parse_buffer() { local -r var="\$$id|\${$id}|\"\$$id\"|\"\${$id}\"" local -i e ic c=${2:-'1 << 62'} - local skip n s r state cmd prev + local skip n s r state token cmd prev local -a aln alp alf v if [[ -o interactive_comments ]]; then |