[PATCH] Add a VFSFromYAML class and a parser to create it

Ben Langmuir blangmuir at apple.com
Fri Feb 21 11:39:53 PST 2014


On Feb 21, 2014, at 11:13 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> On Fri, Feb 21, 2014 at 5:55 PM, Ben Langmuir <blangmuir at apple.com> wrote:
>> At this point, the solution I hate the least is to use a regular field, and cheat the JSON spec by requiring it to come first.  If no one hates that, I’ll go with it.
> 
> I don't think there is a need to require 'version' to be the first
> field.  As long as we are not going to crash while parsing a
> future-version file, version can be anywhere, we can just check it
> when we see it, and ensure that it is present at all.

Sure, will do.

> 
> Dmitri
> 
> -- 
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/





More information about the cfe-commits mailing list