Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
invalid subscript error
- X-seq: zsh-workers 42985
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: invalid subscript error
- Date: Tue, 12 Jun 2018 07:26:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8mM0k57DawWXcd5NohHPntdb1sgg2ogwj4ClYN91P/M=; b=S7pJ2ZAYuoQF9leBaYSOKgVVG0or8sXMFWFEqfP5OTEGBR11BEoC/ypMCelFV+k3wP CgKsMRzEKCClQo+MSsFtmh80bI+2B9BXd1G5nfqtwW8phB6QPDvGu3JIDNTxkkCYhExo MfNnzYuXMLZGs9TT+nHFn1yrEGNaBJgggxMudN7bL4QYJgUylFnOIuyBGgwmIJ6nPVkM 3V/J2jr+/3jnx9hw86tXbbNVj1bAthcESfKX/xFQT54egjXTfelGPz7b1ZqbF0hfwZUq QrvHjM2S9qVRfCUbcOY5oGmBDAoiiwcvpQvk11HkxruVRwCyCTRz6x0bOGpNc216Wyoz jPbw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
I get following error:
-fast-highlight-process:571: invalid subscript
The line is top here, but unsure if I counted correctly in vim, it
might be the line after || \:
if [[ -z "${FAST_HIGHLIGHT[cache-path-${__arg}-${_start_pos}]}" || \
$(( EPOCHSECONDS -
FAST_HIGHLIGHT[cache-path-${__arg}-${_start_pos}-born-at] )) -gt 8 ]];
then
When the error occurs, __arg is:
\\`sub' function, not working {, } highlighting"; prant -r -- "$msg"
Before (z)-split into sequence of $__arg tokens, the line is:
msga==\"-awk.ch: Highlight \\`sub' function, not working {, }
highlighting"; print -r -- "$msg"
_start_pos is just some number
I did quite much but couldn't reproduce on command line. Does anyone
have any clues? I think hash subscript can be anything, and here it
doesn't accept one.
--
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author