In order to check that the following case does not appear sincos(x) a check is added in the ShuntingYard which verifies if 2 function tokens are detected and between them is no other token. This verification will ensure that only sin(cos(x)) is valid.
Possible fix for the concatenating function bug.
In order to check that the following case does not appear sincos(x) a check is added in the ShuntingYard which verifies if 2 function tokens are detected and between them is no other token. This verification will ensure that only sin(cos(x)) is valid.