File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11
11
(?< fasterdecls > (? (? = (? { p u s h 2 \@ m a t c h e s , { } } ) (?< declbod > ( (? ( < t a g e n d > ) ( * F ) ) ( \s * + (? & t y p e o r q u a l i f o r t y p d f ) \s * +
12
12
| ( \s * + \b (?< tagtype > s t r u c t | u n i o n ) \b \s * + (?< identtag > ( (? & i d e n t i f i e r p u r e ) ? + ) ) (? { e v a l { $ m a t c h e s [ - 1 ] { strc} = $ ^ N } } ) \s * +
13
13
( (? & b r a c k e t s ) (? { r e g i s t e r _ t a g g a b l e ( ) } ) ) ? + \s * +
14
- | \s * + \b e n u m \b \s * + (?< ident_enum > ( (? & i d e n t i f i e r p u r e ) ? + ) ) (? { e v a l { $ m a t c h e s [ - 1 ] { strc} = $ ^ N } } ) \s * +
14
+ | \s * + \b e n u m \b \s * + (?< ident_enum > ( ( ( ?& i d e n t i f i e r p u r e ) ) (? { e v a l { $ m a t c h e s [ - 1 ] { strc} = $ ^ N } } ) ) ? + ) \s * +
15
15
( \{ \s * + (? { p u s h 2 \@ m a t c h e s , { } } )
16
- ( ( ( ?& n o r m a l _ r e c ) (? & i n i t _ q ) ? + , ) * +
17
- (? & n o r m a l _ r e c ) (? & i n i t _ q ) ? + ,? + ) ? +
16
+ ( (? & n o r m a l _ r e c ) (? & i n i t _ q ) ? +
17
+ ( , ( ?& n o r m a l _ r e c ) (? & i n i t _ q ) ? + ) * + ,? + ) ? +
18
18
(? { p o p 2 \@ m a t c h e s } ) \s * + \} \s * + ) ?+ ) ( (?< tagend > ; ) (? { d i s p a t c h _ f i l e _ s c o p e _ s t m ( p o s ( ) , $ m i n l e n ) } ) ) ? +
19
19
) ) * +
20
20
(? ( < t a g e n d > ) | (? & i d e n t o u t t e r )
Original file line number Diff line number Diff line change @@ -996,7 +996,8 @@ sub waitforid {
996
996
my $tryagain = 2;
997
997
my $lasrtypedefobj = {%{$typedefidentifiersvector -> [0]}};
998
998
my $lastposcurrlast = 0;
999
- my $compreg = qr {$initseqlight \G\s *+(?&fasterdecls)*+} sxx ;
999
+ my $compreg = eval { # use re qw(Debug EXECUTE);
1000
+ qr {$initseqlight \G\s *+(?&fasterdecls)*+} sxx ; };
1000
1001
1001
1002
# while(1) {
1002
1003
{
You can’t perform that action at this time.
0 commit comments