zsh-workers
 help / color / mirror / code / Atom feed
* globbing in the repeat-count word gives "illegal character"
@ 2020-03-17  3:29 Daniel Shahaf
  2020-03-17 18:37 ` Mikael Magnusson
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Shahaf @ 2020-03-17  3:29 UTC (permalink / raw)
  To: zsh-workers

[[[
$ Src/zsh -f
% cd "$(mktemp -d)"
% repeat ? true 
zsh: bad math expression: illegal character: \M-W
% 
]]]

[[[
frame #1: 0x0000000000487eac zsh`matheval(s="\x97") at math.c:1479
   1476     x = mathevall(s, MPREC_TOP, &junk);
   1477     mtok = xmtok;
   1478     if (*junk)
-> 1479         zerr("bad math expression: illegal character: %c", *junk);
   1480     return x;
   1481 }
   1482
(lldb) p *junk
(char) $0 = '\x97'
]]]

[[[
% ag 0x97 | cat
Src/zsh.h:191:#define Quest             ((char) 0x97)
% 
]]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-26 20:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17  3:29 globbing in the repeat-count word gives "illegal character" Daniel Shahaf
2020-03-17 18:37 ` Mikael Magnusson
2020-03-23  5:31   ` Daniel Shahaf
2020-03-23  6:53     ` Mikael Magnusson
2020-03-25 21:09       ` Peter Stephenson
     [not found]         ` <20200325234655.786e8a88@tarpaulin.shahaf.local2>
2020-03-26 20:58           ` Peter Stephenson

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).