* invalid subscript error
@ 2018-06-12 5:26 Sebastian Gniazdowski
0 siblings, 0 replies; only message in thread
From: Sebastian Gniazdowski @ 2018-06-12 5:26 UTC (permalink / raw)
To: Zsh hackers list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-12 5:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-12 5:26 invalid subscript error Sebastian Gniazdowski
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).