Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/m4 Use hex for masks.
details: https://anonhg.NetBSD.org/src/rev/5a07906c1f81
branches: trunk
changeset: 813106:5a07906c1f81
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 16 17:01:01 2016 +0000
description:
Use hex for masks.
diffstat:
usr.bin/m4/mdef.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (25 lines):
diff -r 9c91b3821c6f -r 5a07906c1f81 usr.bin/m4/mdef.h
--- a/usr.bin/m4/mdef.h Sat Jan 16 17:00:07 2016 +0000
+++ b/usr.bin/m4/mdef.h Sat Jan 16 17:01:01 2016 +0000
@@ -1,5 +1,5 @@
/* $OpenBSD: mdef.h,v 1.29 2006/03/20 20:27:45 espie Exp $ */
-/* $NetBSD: mdef.h,v 1.15 2013/10/18 20:19:36 christos Exp $ */
+/* $NetBSD: mdef.h,v 1.16 2016/01/16 17:01:01 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -88,10 +88,10 @@
#define BUILTIN_MARKER "__builtin_"
-#define TYPEMASK 63 /* Keep bits really corresponding to a type. */
-#define RECDEF 256 /* Pure recursive def, don't expand it */
-#define NOARGS 512 /* builtin needs no args */
-#define NEEDARGS 1024 /* mark builtin that need args with this */
+#define TYPEMASK 0xff /* Keep bits really corresponding to a type. */
+#define RECDEF 0x100 /* Pure recursive def, don't expand it */
+#define NOARGS 0x200 /* builtin needs no args */
+#define NEEDARGS 0x400 /* mark builtin that need args with this */
/*
* m4 special characters
Home |
Main Index |
Thread Index |
Old Index