REmove unneeded type and update the README.md file
This commit is contained in:
@@ -192,8 +192,7 @@ void fn::close()
|
||||
{
|
||||
/* check if no returns and no return type */
|
||||
enum CODES t=this->getType();
|
||||
if (this->kind==T_UNKNOWN&&
|
||||
(t==T_UNKNOWNFUNC||t==T_VOIDFUNC))
|
||||
if (this->kind==T_UNKNOWN && t==T_UNKNOWNFUNC)
|
||||
{
|
||||
/* generate a typeless return */
|
||||
this->generateReturn();
|
||||
|
||||
Reference in New Issue
Block a user