aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2000-01-27 16:15:51 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2000-01-27 16:15:51 +0000
commit623136a74f0f997e3ac93d7d4b94f8cfb99f6f8c (patch)
treed381e366235d21f969e3af3bcdd2fc797b77b32a /usr.bin
parent7e205084773565f92c7780abc20916219df2ce46 (diff)
downloadsrc-623136a74f0f997e3ac93d7d4b94f8cfb99f6f8c.tar.gz
src-623136a74f0f997e3ac93d7d4b94f8cfb99f6f8c.zip
Style change and comment difference per bde.
Obtained from:bde@freebsd.org Marionette by:mjacob@freebsd.org
Notes
Notes: svn path=/head/; revision=56677
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ctags/ctags.h11
1 files 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 */