fix incorrect highlighting when input file starts with line break

fix illegal memory access when input file does not end with line break

add separate Makefile for test

(0) -30 -10 -3 +3 +10 tip

mercurial