# New Ticket Created by  Paul Cochrane 
# Please include the string:  [perl #42225]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42225 >


The third test of t/codingstd/c_parens.t (parentheses should not have
space immediately after the opening parenthesis nor immediately before
the closing parenthesis) is picking up false negatives (meaning it's
failing files which should be passing).  The problem occurs because C
strings are removed from the text to be tested before being checked
for spaces before a parenthesis.  This causes code such as:

fprintf(stderr, "This is an error\n");

to get converted to:

fprintf(stderr, );

which consequently fails the test.

Fixing this problem would be great.

Paul

Reply via email to