fixed null pointer access on end of token stream by adding a special END token to the stream

(0) -100 -30 -10 -1 +1 +10 +30 +100 +300 tip

mercurial