zsh-workers
 help / color / mirror / code / Atom feed
* zsh-3.1.4 bug, parsing case ... esac
@ 1998-09-03  0:53 SL Baur
  1998-09-03  3:52 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: SL Baur @ 1998-09-03  0:53 UTC (permalink / raw)
  To: zsh-workers

The following code, when executed in zsh running as /bin/sh produces
the error messages:
zsh: parse error near `echo'
zsh: parse error in command substitution

"BISON=`if [ -f /usr/src/egcs-1.1a/gcc/../bison/bison ] ; then
		case . in
		/*) echo /usr/src/egcs-1.1a/gcc/../bison/bison -L ./../bison/ ;;
		*) echo /usr/src/egcs-1.1a/gcc/../bison/bison -L /usr/src/egcs-1.1a/gcc/./../bison/ ;;
		esac else echo bison ;
	fi`"

adding a semicolon after the esac makes the messages go away, but I
think this should work as is.

This test case came from egcs-1.1a and causes the build to break.


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

end of thread, other threads:[~1998-09-03 19:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-03  0:53 zsh-3.1.4 bug, parsing case ... esac SL Baur
1998-09-03  3:52 ` Bart Schaefer
1998-09-03  5:43   ` Zoltan Hidvegi
1998-09-03 14:51     ` Bart Schaefer
1998-09-03 19:00       ` Zoltan Hidvegi
1998-09-03 15:04     ` PATCH: 3.0.5 - " Bart Schaefer

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