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

Dmitri Gribenko gribozavr at gmail.com
Fri Feb 21 11:13:34 PST 2014

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.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the cfe-commits mailing list