This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
struct subst; remove macro for obsolete field
authorDavid Mitchell <davem@iabyn.com>
Fri, 18 Feb 2011 12:35:37 +0000 (12:35 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 18 Feb 2011 12:35:37 +0000 (12:35 +0000)
The field was removed a while ago, but the macro sb_once remained.

cop.h

diff --git a/cop.h b/cop.h
index faff796..ad0ee9b 100644 (file)
--- a/cop.h
+++ b/cop.h
@@ -911,7 +911,6 @@ struct subst {
 #define sb_maxiters    cx_u.cx_subst.sbu_maxiters
 #define sb_rflags      cx_u.cx_subst.sbu_rflags
 #define sb_oldsave     cx_u.cx_subst.sbu_oldsave
-#define sb_once                cx_u.cx_subst.sbu_once
 #define sb_rxtainted   cx_u.cx_subst.sbu_rxtainted
 #define sb_orig                cx_u.cx_subst.sbu_orig
 #define sb_dstr                cx_u.cx_subst.sbu_dstr