From 9ce5bf4c39e28441410672f39b5ee1c4569967f8 Mon Sep 17 00:00:00 2001 From: Hugo van der Sanden Date: Fri, 28 Oct 2016 13:27:23 +0100 Subject: [perl #130001] h2xs: avoid infinite loop for enums 'typedef enum x { ... } x' causes h2xs to enter a substitution loop while trying to write the typemap file. --- utils/h2xs.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/h2xs.PL b/utils/h2xs.PL index 8fda87b0a7..f9063cbc4e 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -1034,7 +1034,7 @@ if( ! $opt_X ){ # use XS, unless it was disabled } } { local $" = '|'; - $typedef_rex = qr(\b(?