[Freeciv-Dev] Re: extremely preliminary server command parsing
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
freeciv-dev@xxxxxxxxxxx (Freeciv developers) |
Subject: |
[Freeciv-Dev] Re: extremely preliminary server command parsing |
From: |
Reinier Post <rp@xxxxxxxxxx> |
Date: |
Wed, 24 Oct 2001 01:13:05 +0200 |
On Tue, Oct 23, 2001 at 05:09:02PM -0400, Justin Moore wrote:
>
> > > - blank lines or lines whose first character is a '#' are ignored (done)
> >
> > At present, the ruleset code allows '#' comments to follow data
> > in some places. It would be nice to have this, but '#' can occur
> > within data.
>
> Out of curiousity, could you provide an example?
A directory name, is my standard example.
Not that they are likely or necessary, but how to prevent them?
> > > - lines that end with a newline end a comment (this includes line
> > > continuated commands)
> >
> > Don't all lines end with a newline?
>
> Sorry, s/comment/command/. And it should have been "lines that don't
> have a continuation character as the last non-whitespace character end a
> command."
Yes. I've noticed that Unix ultilities vary in how exactly the \
line continuation works. Another argument for Arien's approach ...
--
Reinier
|
|