calculate expression for source position only for source files
reading compiler options -nowarn and -no-specialization fixed