Added generation of clauses.cpp and fixed an error in generation of constructs.cpp