fixed error reporting when tokens missing at end of include file