[Templates-cvs] cvs commit: Template2/docsrc/src/Release Changes.tt2

cvs@template-toolkit.org cvs@template-toolkit.org


cvs         07/02/09 16:51:54

  Modified:    docsrc/src/Release Changes.tt2
  Log:
  updated Changes source template to note new expression-as-arguments feature
  
  Revision  Changes    Path
  1.145     +10 -1     Template2/docsrc/src/Release/Changes.tt2
  
  Index: Changes.tt2
  ===================================================================
  RCS file: /template-toolkit/Template2/docsrc/src/Release/Changes.tt2,v
  retrieving revision 1.144
  retrieving revision 1.145
  diff -u -r1.144 -r1.145
  --- Changes.tt2	2007/02/09 16:27:47	1.144
  +++ Changes.tt2	2007/02/09 16:51:54	1.145
  @@ -20,7 +20,7 @@
   #   Any changes you make here may be lost!
   #
   #------------------------------------------------------------------------
  -# $Id: Changes.tt2,v 1.144 2007/02/09 16:27:47 abw Exp $
  +# $Id: Changes.tt2,v 1.145 2007/02/09 16:51:54 abw Exp $
   #========================================================================
   
   #------------------------------------------------------------------------
  @@ -29,6 +29,15 @@
   
   * Merged in Adam's changes in 2.16 and 2.17 back into the developer CVS
     repository and pushed out a new release.
  +
  +* Changed the parser grammar to accept expressions as arguments to a 
  +  subroutine, method or virtual method call.  I'm embarrassed to admit
  +  that it was a one line change that could (and should) have been made
  +  long ago, if only I had realised just how trivial it was.  Anyway,
  +  you can now write nested expressions like this:
  +
  +     [% add(a+5, b < 10 ? c : d + e*5) %]
  +
   
   #------------------------------------------------------------------------
   # Version 2.17 - 8th Feb 2007