From 623136a74f0f997e3ac93d7d4b94f8cfb99f6f8c Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Thu, 27 Jan 2000 16:15:51 +0000 Subject: [PATCH] Style change and comment difference per bde. Obtained from:bde@freebsd.org Marionette by:mjacob@freebsd.org --- usr.bin/ctags/ctags.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/usr.bin/ctags/ctags.h b/usr.bin/ctags/ctags.h index 07d582696fd8..b91aa411c3d8 100644 --- a/usr.bin/ctags/ctags.h +++ b/usr.bin/ctags/ctags.h @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /* * Copyright (c) 1987, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -32,6 +31,9 @@ * SUCH DAMAGE. * * @(#)ctags.h 8.3 (Berkeley) 4/2/94 + * + * $FreeBSD$ + * */ #define bool char @@ -47,9 +49,10 @@ #define GETC(op,exp) ((c = getc(inf)) op (int)exp) /* - * Assumes that the last element is always 'NO', - * as the EOF return from stdio get overlaid to - * that entry. + * These character classification macros assume that the (EOF & 0xff) element + * of the arrays is always 'NO', as the EOF return from getc() gets masked + * to that value. Masking with 0xff has no effect for normal characters + * returned by getc() provided chars have 8 bits. */ #define iswhite(arg) _wht[arg & 0xff] /* T if char is white */