[syslinux] comment syntax
Steve Brown
sbrown7 at umbc.edu
Tue Aug 31 06:08:10 PDT 2010
On Tue, 31 Aug 2010, Ferenc Wagner wrote:
> Gene Cumm <gene.cumm at gmail.com> writes:
> On Mon, Aug 30, 2010 at 00:33, Prof S W Damle <swdamle at bsnl.in> wrote:
>
>> ## menu label ^0. xxxx -->This IS displayed
>
> Of course. Bad syntax. You _must_ use "# " to make a comment and may
> not use "## " as is stated in doc/syslinux.txt
Why is this, btw? It's rather counterintuitive. Is there a reason
against letting a single # turn the rest of the line into a comment,
as usual in some other scripting languages?
Well, without the trailing space requirement, then the diglyph "#!"
wouldn't be picked up as special, either. I also have a vague feeling
that the "##" diglyph is special in some language I've seen.
Steve Brown
sbrown7 at umbc.edu
More information about the Syslinux
mailing list