From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24630 invoked by alias); 8 Nov 2014 20:46:27 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33654 Received: (qmail 21120 invoked from network); 8 Nov 2014 20:46:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,FROM_12LTRDOM, RCVD_IN_DNSWL_NONE,T_MANY_HDRS_LCASE autolearn=no version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=c/scmq5g c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=qM3WZqVC4X1nz3gIs5sA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141108124604.ZM19297@torch.brasslantern.com> Date: Sat, 08 Nov 2014 12:46:04 -0800 X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: PRINT_TYPESET vs PRINT_WHENCE_CSH MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Either these sets of flags shouldn't overlap at all, or it shouldn't matter that they both start at (1<<0) ... or there's some reason to imply that whence and typeset are related? I suspect it doesn't matter since PRINT_WHENCE_* are only in hashtable.c whereas the other PRINT_* are only params.c, but ... /* flags for controlling printing of hash table nodes */ #define PRINT_NAMEONLY (1<<0) #define PRINT_TYPE (1<<1) #define PRINT_LIST (1<<2) #define PRINT_KV_PAIR (1<<3) #define PRINT_INCLUDEVALUE (1<<4) #define PRINT_TYPESET (1<<5) /* flags for printing for the whence builtin */ #define PRINT_WHENCE_CSH (1<<5) #define PRINT_WHENCE_VERBOSE (1<<6) #define PRINT_WHENCE_SIMPLE (1<<7) #define PRINT_WHENCE_FUNCDEF (1<<9) #define PRINT_WHENCE_WORD (1<<10)