Fix warning from Perl 5.21 in helper script
diff --git a/tests/scripts/list-enum-consts.pl b/tests/scripts/list-enum-consts.pl
index c8e2636..633e3fd 100755
--- a/tests/scripts/list-enum-consts.pl
+++ b/tests/scripts/list-enum-consts.pl
@@ -14,7 +14,7 @@
 my $state = 'out';
 while (<>)
 {
-    if( $state eq 'out' and /^(typedef )?enum {/ ) {
+    if( $state eq 'out' and /^(typedef )?enum \{/ ) {
         $state = 'in';
     } elsif( $state eq 'out' and /^(typedef )?enum/ ) {
         $state = 'start';