cfengine-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cfengine-develop] Re: Homework


From: Mark Burgess
Subject: Re: [Cfengine-develop] Re: Homework
Date: Thu, 6 Mar 2003 17:07:47 +0100 (MET)

On  6 Mar, Luke A. Kanies wrote:
> On Thu, 6 Mar 2003, Andrew Stribblehill wrote:
> 
>> However, are we all agreed that strings should always be quoted
>> somehow? That's a bigger difference, to my mind, since it affects
>> things like signal=kill.
> 
> I think this is a _great_ idea.  Current treatment of strings by the
> parser is quite complicated and differs considerably depending on
> where the string is used.
> 
> I'd very much like it if all strings had to be quoted; this includes
> things like the filenames in 'editfiles' sections.  Currently the
> cfengine tokenizer is very dependent on syntax to figure out what kind
> of token it should return; quoting strings would solve a lot of that. 
> (And having a line termination character like ';' would solve a lot
> more.)

I'm not so sure about this. There is a logical and syntactical
difference between a path to a file and a quoted string.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]