pos
pd
Find the index of the last comment in the sequence of comments-only tokens after the token that has position pos in pd.
extend_if_comment(pd, pos)
A parse table.
The position of the token to start the search from.