Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 5401

Show
Ignore:
Timestamp:
03/09/10 00:57:11 (2 years ago)
Author:
kris
Message:

fixes #1874 :: parameter smushing with multiple short arguments doesn't work

thanks to deewiant

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/text/Arguments.d

    r5391 r5401  
    479479                       arg.append (elem, true); 
    480480                   else 
    481                       foreach (c; elem) 
    482                                arg = enable ((&c)[0..1], sloppy); 
     481                      arg = enable (elem, sloppy, true); 
     482                      //foreach (c; elem) 
     483                      //   arg = enable ((&c)[0..1], sloppy); 
    483484                   return arg; 
    484485                   }