driver: Fix error message wording

This commit is contained in:
Daniel Shahaf 2015-11-25 03:54:33 +00:00
parent 438a94496f
commit 635a68f7b4

View File

@ -42,7 +42,7 @@ else
# $0 is unreliable, so the call to _zsh_highlight_load_highlighters will fail. # $0 is unreliable, so the call to _zsh_highlight_load_highlighters will fail.
# TODO: If 'zmodload zsh/parameter' is available, ${funcsourcetrace[1]%:*} might serve as a substitute? # TODO: If 'zmodload zsh/parameter' is available, ${funcsourcetrace[1]%:*} might serve as a substitute?
# TODO: also check POSIX_ARGZERO, but not it's not available in older zsh # TODO: also check POSIX_ARGZERO, but not it's not available in older zsh
echo "zsh-syntax-highlighting: error: not compatible with FUNCTION_ARGZERO" >&2 echo "zsh-syntax-highlighting: error: not compatible with NO_FUNCTION_ARGZERO" >&2
return 1 return 1
fi fi