Import revision 48963 from the v5-34-00 patch branch:
Record the consumption of a function arguments and closing paranthesis to avoid adding them a second time later on


git-svn-id: https://root.cern.ch/svn/root/trunk@48964 27541ba8-7e3a-0410-8455-c3a389f83636