Fixed parsing of short form of anonymous functions
commit6c673e594189ce34a0812c463fe7744eb628b055
authorThomas Leonard <talex5@gmail.com>
Thu, 16 Oct 2008 18:20:59 +0000 (16 19:20 +0100)
committerThomas Leonard <talex5@gmail.com>
Thu, 16 Oct 2008 18:20:59 +0000 (16 19:20 +0100)
tree23bb2763d71fbc879eea035ccec85c6285f62aa9
parentaa51715fa2b55ade060ee403f0a6bb264e0969bf
Fixed parsing of short form of anonymous functions

int y = ((int x): x + 1)(5)

can now be used (as in D) as a short version of

int y = (delegate(int x): x + 1)(5)
dmd2/parse.c