Fix file location error in lintfile
parse parameters last tho they're first in AST

It fixes bogus use of undeclared var error