From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id SAA14679 for ; Fri, 26 Jul 1996 18:19:59 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id EAA03132; Fri, 26 Jul 1996 04:16:46 -0400 (EDT) Resent-Date: Fri, 26 Jul 1996 04:16:46 -0400 (EDT) Message-Id: <199607260815.KAA12006@hydra.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Printing blank funcion In-reply-to: "pws@ifh.de"'s message of "Fri, 26 Jul 1996 10:08:34 MET." <199607260808.KAA09932@hydra.ifh.de> Date: Fri, 26 Jul 1996 10:15:14 +0200 From: Peter Stephenson Resent-Message-ID: <"Lszu93.0.pm.jx7-n"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1778 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 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.