fix anon function syntax
terminate new constructs #477
handle anonymous doc annotation