JSON allows comments if all the JSON processors we use handle comments. :)
On Tue, Mar 21, 2017 at 8:52 AM, James Graham <[email protected]> wrote: > On 20/03/17 22:15, [email protected] wrote: > >> Sorry if it's a silly suggestion: >> Could the current tool insert some helpful reminders *everywhere* in the >> generated file (so it's can't be missed)? >> E.g., every 2nd line would read: "// PSA: This file is auto-generated by >> ./mach wpt-manifest-update, please don't edit!" ;-) > > > It is of course possible but it's not trivial since JSON doesn't allow > comments, so there would have to be some preprocessing magic and so on. > Probably better to spend the time on a good solution. > > > _______________________________________________ > dev-platform mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

