make sure one directive token don't span more than two lines. try to fix #2228 --------- Co-authored-by: winlin <winlinvip@gmail.com>