From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Printing blank funcion
Date: Fri, 26 Jul 1996 10:15:14 +0200 [thread overview]
Message-ID: <199607260815.KAA12006@hydra.ifh.de> (raw)
In-Reply-To: "pws@ifh.de"'s message of "Fri, 26 Jul 1996 10:08:34 MET." <199607260808.KAA09932@hydra.ifh.de>
I wrote:
> % TRAPUSR1() { }
> % functions TRAPUSR1
> TRAPUSR1()
>
> No braces at all here: that's illegal for a definition.
> Any empty function does this.
This is the trivial fix. (Does anyone want to argue this isn't a
bug??)
*** Src/hashtable.c.printfn Fri Jul 26 09:42:59 1996
--- Src/hashtable.c Fri Jul 26 10:12:46 1996
***************
*** 759,765 ****
printf("traced ");
if (!f->funcdef) {
nicezputs(f->nam, stdout);
! printf(" ()\n");
return;
}
--- 759,765 ----
printf("traced ");
if (!f->funcdef) {
nicezputs(f->nam, stdout);
! printf(" () { }\n");
return;
}
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
next prev parent reply other threads:[~1996-07-26 8:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-06 19:09 Odd behavior of "trap" and "functions" in 3.0-pre2 Bart Schaefer
1996-07-26 8:08 ` Peter Stephenson
1996-07-26 8:15 ` Peter Stephenson [this message]
1996-07-26 11:56 ` Zoltan Hidvegi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199607260815.KAA12006@hydra.ifh.de \
--to=pws@ifh.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).