curimit / SugarCpp

SugarCpp is a language which can compile to C++11.
135 stars 13 forks source link

Support multiple line lambda expression. #11

Open curimit opened 11 years ago

curimit commented 11 years ago

Currently multiple line lambda has been supported. But code like this can be still a problem.

int main()
    a := f(( () ->
        printf("haha\n")), 1)