option to print line number and position for each token
fixing bug when there was no statement after constructor