Refine token-table-diff script.