Improved the tokenization of function default argument values.

Previously, only the first token was processed, meaning "-1" was processed as "-". Now, it has been extended, i.e. all tokens after "=" are processed and parsed.
Also added a test case.