Fix macro call parsing.

Function ends at the last closing parenthesis, so that parameters
can have parenthesis.
Autocommit: libraries changed 2014-06-05-18:51:33