Fixed error location report when error is at the end of a module
Fixed error location report when error is at the end of a module

WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc,WheretIB/nullc