Checks for each potential trigger token in pd whether it actually should cause indention.
pd
needs_indention(pd, potential_triggers)
A parse table.
A vector with indices of the potential trigger tokens in pd.