Dealing with corner cases in comment capture

Problems caused by `exprlist` and `FUNCTION` tokens where there is not
a clear correspondence between the number of tokens and the number of
elements in the expression.