igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] PATCH foreign-dl-parser.y: allow linebreak after 'data:' to


From: Tamas Nepusz
Subject: Re: [igraph] PATCH foreign-dl-parser.y: allow linebreak after 'data:' token
Date: Thu, 25 Feb 2016 15:16:41 +0100

Hi,

Your patch has been merged in:
https://github.com/igraph/igraph/commit/d12619a681b8d38be43b76a7e5ca8e71843162de

Thanks for the fix!
T.


On Wed, Feb 17, 2016 at 12:00 AM, Tamas Nepusz <address@hidden> wrote:
> Hi,
>
> Seems okay to me, thanks! Gabor, is it okay for you as well? If so,
> I'll merge it into the master branch.
> T.
>
>
> On Wed, Feb 10, 2016 at 10:08 PM, Jannick <address@hidden> wrote:
>> Hi,
>>
>>
>>
>> here a tiny patch for your consideration to have iGraph read in edge lists
>> using the function ‘igraph_read_graph_dl’ where nodes are given by integers
>> like
>>
>>
>>
>> DL n=4
>>
>> format = edgelist1
>>
>> data:
>>
>> 1 2
>>
>> 2 3
>>
>> 2 4
>>
>>
>>
>> The current version of the grammar (foreign-dl-parser.y) complains about a
>> line break after ‘data:’ which the tiny patch below amends.
>>
>>
>>
>> Cheers,
>>
>> J.
>>
>>
>>
>> PATCH:
>>
>> --- "a/foreign-dl-parser.y"
>>
>> +++ "b/foreign-dl-parser.y"
>>
>> @@ -181,7 +181,7 @@ labeledmatrixline: LABEL zerooneseq NEWLINE { } ;
>>
>>  edgelist1: FORMATEDGELIST1 newline edgelist1rest {} ;
>>
>> -edgelist1rest:   DATA edgelist1data {}
>>
>> +edgelist1rest:   DATA newline edgelist1data {}
>>
>>               | LABELS newline labels newline DATA newline edgelist1data {}
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]