Refactored code prevented the parse from correctly identifiing the end.

The end parenthisis when parsing function signatures.