bugfix for platform patch file parser
support no function pass for define