From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26963 invoked from network); 17 Jun 2006 17:46:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jun 2006 17:46:40 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 80203 invoked from network); 17 Jun 2006 17:46:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jun 2006 17:46:33 -0000 Received: (qmail 24963 invoked by alias); 17 Jun 2006 17:46:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22496 Received: (qmail 24953 invoked from network); 17 Jun 2006 17:46:30 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Jun 2006 17:46:30 -0000 Received: (qmail 79974 invoked from network); 17 Jun 2006 17:46:30 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 17 Jun 2006 17:46:28 -0000 Received: from torch.brasslantern.com ([71.116.105.50]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J1000L9OMPCEHK9@vms042.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 17 Jun 2006 12:46:25 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k5HHkNYX000338 for ; Sat, 17 Jun 2006 10:46:24 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k5HHkNCd000337 for zsh-workers@sunsite.dk; Sat, 17 Jun 2006 10:46:23 -0700 Date: Sat, 17 Jun 2006 10:46:23 -0700 From: Bart Schaefer Subject: Recursion error and line numbers To: zsh-workers@sunsite.dk Message-id: <060617104623.ZM336@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii This is tangential to the segfault etc. reported for local foo=(); local bar In workers/22495 I wrote: > zsh% local > local:10: maximum nested function level reached > zsh% There are not 10 lines in the function "local", nor are there 50 lines when I try the "compinit" test and mysteriously get the error twice: zsh% compinit local:50: maximum nested function level reached local:1: maximum nested function level reached zsh% Obviously the recursion depth isn't 1 or 10 or 50 either. Where is that number coming from? I would have expected "1" in all cases.