generate.c
static void code_return_statement(GenerateContext *c, ParseTreeNode *node)
{
    if (node->u.returnStatement.expr) {
        code_rvalue(c, node->u.returnStatement.expr);
        putcbyte(c, OP_RETURN);
    }
    else
        putcbyte(c, OP_RETURNZ);
}
/* code_return_statement - generate code for a RETURN statement */
generate code for a RETURN statement
generate code for a RETURN statement
static void code_return_statement(GenerateContext *c, ParseTreeNode *node)
{
    if (node->u.returnStatement.expr) {
        code_rvalue(c, node->u.returnStatement.expr);
        putcbyte(c, OP_RETURN);
    }
    else
        putcbyte(c, OP_RETURNZ);
}
static void code_return_statement ( GenerateContext * c , ParseTreeNode * node ) { if ( node -> u . returnStatement . expr ) { code_rvalue ( c , node -> u . returnStatement . expr ) ; putcbyte ( c , OP_RETURN ) ; } else putcbyte ( c , OP_RETURNZ ) ; }
code_return_statement - generate code for a RETURN statement
code_return_statement - generate code for a RETURN statement