removed num_lines from scanner, using locations

Cleaned up this TODO note..
/* TODO: num lines should be replaced with locations */