don't leak 'token' local variable in parser (#1407)

pull/1415/head
Roman Perepelitsa 4 years ago
parent f774df6c76
commit a3494a52d7

@ -152,7 +152,7 @@ function _p9k_parse_buffer() {
local -r var="\$$id|\${$id}|\"\$$id\"|\"\${$id}\"" local -r var="\$$id|\${$id}|\"\$$id\"|\"\${$id}\""
local -i e ic c=${2:-'1 << 62'} 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 local -a aln alp alf v
if [[ -o interactive_comments ]]; then if [[ -o interactive_comments ]]; then

Loading…
Cancel
Save