Change 20071217-dda-v by [EMAIL PROTECTED] on 2007-12-17 22:56:41 EST
    in /Users/dda/laszlo/src/svn/openlaszlo/branches/devildog
    for http://svn.openlaszlo.org/openlaszlo/branches/devildog

Summary: More accurate parsing of varargs syntax.

New Features: none

Bugs Fixed: LPP-5273

Technical Reviewer: ptw (pending)
QA Reviewer: hminsky (pending)
Doc Reviewer: (pending)

Documentation: none

Release Notes: none

Details:
    This fixes the grammar to require that the '...rest' syntax,
    if it appears at all in a formal argument declaration, appears
    as the last argument.


Tests:
    Tried some simple tests like:
      function f1(x,...y) { }
      function f2(...x) { }
      function f3(...x,y) { }
    to verify that the first two pass and the last one fails.

Files:
M      WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071217-dda- v.tar



--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

Voice:  617-547-7881
Email:  [EMAIL PROTECTED]
WWW:    http://www.ddanderson.com

Reply via email to