main: Split declaration and assignment

Unbreak build for 5.0.8 and earlier.
This commit is contained in:
Matthew Martin 2017-11-24 16:34:34 -06:00
parent 2a50614579
commit 7177ba005f

View File

@ -195,7 +195,7 @@ _zsh_highlight_main__stack_pop() {
_zsh_highlight_highlighter_main_paint() _zsh_highlight_highlighter_main_paint()
{ {
# Before we even 'emulate -L', save the user's options # Before we even 'emulate -L', save the user's options
local -A useroptions=("${(@kv)options}") local -A useroptions; useroptions=("${(@kv)options}")
emulate -L zsh emulate -L zsh
setopt localoptions extendedglob bareglobqual setopt localoptions extendedglob bareglobqual