always create a parameter decl in parser even if we only have a type specifier
fix parameter scope in function definitions