Control File: invalid expression, ')' is missing

Control files can include C like expressions defined starting with a dollar sign and written between curly brackets as in: $(3 + 5). The expression can make use of parenthesis, any number of them, and that means you may not include the right number of opening and closing parenthesis. This error is generated when such a problem is discovered.

VALIDVersion: 1.2.$(3 + 5 * 21)
INVALIDVersion: 1.2.$(3 + (5 * 21)