> > This seems inconsistent to me tbh. I think someone could reasonably
> > write a bootconfig like this:
> >
> > foo =                  # We leave foo empty here because <reason>
> > bar = value
> >
> > and expect it to work. There's nothing in the documentation that
> > suggests empty values would behave differently if there is a comment
> > behind them.
>
> But we already accept that example in the tree.
>
>   tools/bootconfig/samples/good-array-space-comment.bconf
>
> So it is hard to change this syntax. But without comment, the
> document defines the value is terminated with a newline. Thus
> it needs to be fixed.

Hmm... okay. I think it would be good to add an example like this
(without array) to admin-guide/bootconfig.rst. It isn't very clear to
me that the comment "negates" the following newline in the way it is
written right now.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to