Loading ...
Sorry, an error occurred while loading the content.

Re: [Cheetahtemplate-discuss] That comma between directive arguments

Expand Messages
  • Mike Orr
    ... I guess the comma isn t so bad after all. Otherwise it would sometimes be ambiguous whether a space separates arguments or is part of a multi-word
    Message 1 of 2 , May 1, 2002
    • 0 Attachment
      On Tue, Apr 30, 2002 at 09:35:49PM -0700, Mike Orr wrote:
      > If you don't use a comma between directive arguments, you get
      > a compiler error. In the case of:
      >
      > #cache timer='.5m' id='cache1'
      >
      > I'm thinking the comma should be optional because intuitively, a
      > directive looks like something that would have whitespace-separated
      > arguments, based on its resemblance to other programming languages.

      I guess the comma isn't so bad after all. Otherwise it would
      sometimes be ambiguous whether a space separates arguments or
      is part of a multi-word expression.

      --
      -Mike (Iron) Orr, iron@... (if mail problems: mso@...)
      http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol
    Your message has been successfully submitted and would be delivered to recipients shortly.