[libvirt] [PATCH 2/2] syntax-check: mandate space after mid-line semicolon

Eric Blake eblake at redhat.com
Tue May 28 15:00:40 UTC 2013


On 05/25/2013 03:13 PM, Martin Kletzander wrote:
>> @@ -31,6 +32,9 @@ foreach my $file (@ARGV) {
>>      while (defined (my $line = <FILE>)) {
>>          my $data = $line;
>>
>> +        # Kill any quoted ; or "
>> +        $data =~ s,'[";]','X',g;
>> +
> 
> Good catch, I didn't know this was missing.

Yep, I hit some false positives where we parse for ';' if I didn't add this.

> 
> [...]
> 
> ACK,

Thanks; pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130528/3e8a3cf2/attachment-0001.sig>


More information about the libvir-list mailing list