Fix parsing for allowing def statements only where legal.
Fix parsing for allowing def statements only where legal.

c-blake/cython,bzzzz/cython,fabianrost84/cython,cython/cython,JelleZijlstra/cython,mcanthony/cython,encukou/cython,hhsprings/cython,achernet/cython,marscher/cython,larsmans/cython,slonik-az/cython,marscher/cython,roxyboy/cython,JelleZijlstra/cython,JelleZijlstra/cython,mcanthony/cython,scoder/cython,c-blake/cython,dahebolangkuan/cython,dahebolangkuan/cython,rguillebert/CythonCTypesBackend,fperez/cython,acrispin/cython,marscher/cython,ABcDexter/cython,achernet/cython,hhsprings/cython,larsmans/cython,encukou/cython,encukou/cython,roxyboy/cython,andreasvc/cython,madjar/cython,achernet/cython,achernet/cython,dahebolangkuan/cython,roxyboy/cython,roxyboy/cython,achernet/cython,cython/cython,hpfem/cython,slonik-az/cython,da-woods/cython,fperez/cython,larsmans/cython,scoder/cython,hickford/cython,fperez/cython,bzzzz/cython,cython/cython,hpfem/cython,mrGeen/cython,acrispin/cython,c-blake/cython,dahebolangkuan/cython,slonik-az/cython,c-blake/cython,rguillebert/CythonCTypesBackend,rguillebert/CythonCTypesBackend,encukou/cython,cython/cython,ChristopherHogan/cython,mrGeen/cython,hpfem/cython,encukou/cython,bzzzz/cython,hhsprings/cython,acrispin/cython,mcanthony/cython,fabianrost84/cython,slonik-az/cython,fabianrost84/cython,marscher/cython,fabianrost84/cython,andreasvc/cython,c-blake/cython,acrispin/cython,ABcDexter/cython,madjar/cython,andreasvc/cython,fperez/cython,rguillebert/CythonCTypesBackend,fperez/cython,andreasvc/cython,hpfem/cython,mrGeen/cython,hickford/cython,madjar/cython,mrGeen/cython,mcanthony/cython,dahebolangkuan/cython,fabianrost84/cython,hhsprings/cython,hhsprings/cython,JelleZijlstra/cython,hickford/cython,madjar/cython,bzzzz/cython,mrGeen/cython,ChristopherHogan/cython,acrispin/cython,da-woods/cython,roxyboy/cython,hpfem/cython,marscher/cython,slonik-az/cython,andreasvc/cython,da-woods/cython,hickford/cython,da-woods/cython,hickford/cython,mcanthony/cython,larsmans/cython,JelleZijlstra/cython,ABcDexter/cython,ABcDexter/cython,scoder/cython,larsmans/cython,ChristopherHogan/cython,ABcDexter/cython,scoder/cython,madjar/cython