Ensure the cast type is unique in the context parser, we do not want them to detect as a comma ','.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -1032,7 +1032,7 @@ sub annotate_values { · 1031 unmodified lines | |||
| 1032 | } elsif ($cur =~ /^(\(\s*$Type\s*)\)/ && $av_pending eq '_') { | 1032 | } elsif ($cur =~ /^(\(\s*$Type\s*)\)/ && $av_pending eq '_') { |
| 1033 | print "CAST($1)\n" if ($dbg_values > 1); | 1033 | print "CAST($1)\n" if ($dbg_values > 1); |
| 1034 | push(@av_paren_type, $type); | 1034 | push(@av_paren_type, $type); |
| 1035 | $type = 'C'; | 1035 | $type = 'c'; |
| 1036 | 1036 | ||
| 1037 | } elsif ($cur =~ /^($Type)\s*(?:$Ident|,|\)|\(|\s*$)/) { | 1037 | } elsif ($cur =~ /^($Type)\s*(?:$Ident|,|\)|\(|\s*$)/) { |
| 1038 | print "DECLARE($1)\n" if ($dbg_values > 1); | 1038 | print "DECLARE($1)\n" if ($dbg_values > 1); |