zsh-workers
 help / color / mirror / code / Atom feed
* infinite loop with aliases
@ 1996-11-29 21:46 Zefram
  1996-12-02 12:29 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Zefram @ 1996-11-29 21:46 UTC (permalink / raw)
  To: Z Shell workers mailing list

% foo<
zsh: parse error near `\n'
% alias foo='a=b foo'
% foo<

zsh goes into an infinite loop and can't be interrupted.  It seems to
be looping in the lexer or the parser; I'm not familiar with that code
so I can't easily diagnose it.

One other oddity:

% zsh -fc 'foo<'
zsh: parse error near `<'
% zsh -f
% foo<
zsh: parse error near `\n'

Why the difference in error messages?

-zefram


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

end of thread, other threads:[~1996-12-02 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-29 21:46 infinite loop with aliases Zefram
1996-12-02 12:29 ` 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).