Fixed bug of not properly handling empty formal parameter list of function and procedure