Module Name: src
Committed By: christos
Date: Sat Jan 16 17:01:01 UTC 2016
Modified Files:
src/usr.bin/m4: mdef.h
Log Message:
Use hex for masks.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/m4/mdef.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/m4/mdef.h
diff -u src/usr.bin/m4/mdef.h:1.15 src/usr.bin/m4/mdef.h:1.16
--- src/usr.bin/m4/mdef.h:1.15 Fri Oct 18 16:19:36 2013
+++ src/usr.bin/m4/mdef.h Sat Jan 16 12:01:01 2016
@@ -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