summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-25 07:31:39 -0500
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-05-26 08:43:38 +0000
commit075abff3feb0c6965ba49108266b27bec1bd4ae6 (patch)
tree97b895b97d6f1542d5aae6f017afbddfc0b5a728 /regcomp.h
parent456b8aff3db21e52f55abc0d0ef5a79a68dfd59c (diff)
downloadperl-075abff3feb0c6965ba49108266b27bec1bd4ae6.tar.gz
Updated lint infrastructure
Message-ID: <20050525173139.GB1701@petdance.com> p4raw-id: //depot/perl@24580
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/regcomp.h b/regcomp.h
index 35a144fbec..6a2a22d94e 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -154,15 +154,9 @@ struct regnode_charclass_class { /* has [[:blah:]] classes */
#undef NEXT_OFF
#undef NODE_ALIGN
-#ifndef lint
-# define NEXT_OFF(p) ((p)->next_off)
-# define NODE_ALIGN(node)
-# define NODE_ALIGN_FILL(node) ((node)->flags = 0xde) /* deadbeef */
-#else /* lint */
-# define NEXT_OFF(p) 0
-# define NODE_ALIGN(node)
-# define NODE_ALIGN_FILL(node)
-#endif /* lint */
+#define NEXT_OFF(p) ((p)->next_off)
+#define NODE_ALIGN(node)
+#define NODE_ALIGN_FILL(node) ((node)->flags = 0xde) /* deadbeef */
#define SIZE_ALIGN NODE_ALIGN
@@ -309,15 +303,11 @@ struct regnode_charclass_class { /* has [[:blah:]] classes */
/*
* Utility definitions.
*/
-#ifndef lint
#ifndef CHARMASK
-#define UCHARAT(p) ((int)*(const U8*)(p))
+# define UCHARAT(p) ((int)*(const U8*)(p))
#else
-#define UCHARAT(p) ((int)*(p)&CHARMASK)
+# define UCHARAT(p) ((int)*(p)&CHARMASK)
#endif
-#else /* lint */
-#define UCHARAT(p) PL_regdummy
-#endif /* lint */
#define EXTRA_SIZE(guy) ((sizeof(guy)-1)/sizeof(struct regnode))