refactor step1: modify left shift warning buggy | move the error reporter to the parser(no need to assign outside)
buildconfig -> platform_def