diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-01-27 16:15:51 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-01-27 16:15:51 +0000 |
commit | 7d7738eedb35bcea817e3010fbbb820aa9ab6bbd (patch) | |
tree | ca524ac0aad2a47dc84a6254d3c20f57f53db4da | |
parent | 275ce72a917efc556389f0ae6b3f35c80bd18eae (diff) | |
download | FreeBSD-src-7d7738eedb35bcea817e3010fbbb820aa9ab6bbd.zip FreeBSD-src-7d7738eedb35bcea817e3010fbbb820aa9ab6bbd.tar.gz |
Style change and comment difference per bde.
Obtained from:bde@freebsd.org
Marionette by:mjacob@freebsd.org
-rw-r--r-- | usr.bin/ctags/ctags.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/ctags/ctags.h b/usr.bin/ctags/ctags.h index 07d5826..b91aa41 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 */ |