Unfortunately, the current spec does not allow inline comments. I believe it would be good to change the spec in this regard, but currently your only safe option is to add a full-line comment (i.e. '#' in the first column of the line) before or after the line you're referring to, and make clear from the comment which line your refer to.
Regards, Sebastian > -----Original Message----- > From: [email protected] [mailto:spdx-tech- > [email protected]] On Behalf Of David Seaward > Sent: Wednesday, May 24, 2017 11:30 > To: [email protected] > Subject: [spdx-tech] Can I add a comment/suffix to the SPDX-License- > Identifier line? > > Hi, > > My goal is to visually disambiguate "GPL-3.0" and "GPL-3.0+" for human > readers. Is it possible to add a comment or suffix to the SPDX line without > breaking conforming parsers? > > For example, > > SPDX-License-Identifier: GPL-3.0 (only) > > or > > SPDX-License-Identifier: GPL-3.0 # only > > rather than just > > SPDX-License-Identifier: GPL-3.0 > > Regards, > David > > _______________________________________________ > Spdx-tech mailing list > [email protected] > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist > s.spdx.org%2Fmailman%2Flistinfo%2Fspdx- > tech&data=01%7C01%7C%7Cc5067c01bac740f0f83708d4a36c2f09%7C6d4034c > d72254f72b85391feaea64919%7C1&sdata=7XvbHV8Nj7NYuxbEk7roKy%2Bpt > C8yMj3e9OgVKDjOTKU%3D&reserved=0 _______________________________________________ Spdx-tech mailing list [email protected] https://lists.spdx.org/mailman/listinfo/spdx-tech
