This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
anonymous unions aren't legal ANSI c
[perl5.git] / regexp.h
index b3634d8..a9c2130 100644 (file)
--- a/regexp.h
+++ b/regexp.h
@@ -271,7 +271,7 @@ typedef struct regmatch_state {
            re_cc_state *cur_call_cc;
            regexp *end_re;
        } end;
-    };
+    } u;
 
     re_cc_state *reg_call_cc;  /* saved value of PL_reg_call_cc */
 } regmatch_state;