[CP] Revert [to #48811148]fix bug goto statement

This commit is contained in:
seuwebber
2023-05-17 13:11:28 +00:00
committed by ob-robot
parent bf79809622
commit e8ce6e4946

View File

@ -1921,13 +1921,7 @@ public:
inline bool get_is_autonomous() const { return is_autonomous_block_; }
inline void clear_aotonomous() { is_autonomous_block_ = false; }
inline bool get_is_contain_goto_stmt() const { return is_contain_goto_stmt_; }
inline void set_is_contain_goto_stmt(bool flag)
{
if (flag && OB_NOT_NULL(parent_)) {
(const_cast<ObPLStmtBlock *>(parent_))->set_is_contain_goto_stmt(true);
}
is_contain_goto_stmt_ = flag;
}
inline void set_is_contain_goto_stmt(bool flag) { is_contain_goto_stmt_ = flag; }
inline const ObPLSymbolTable *get_symbol_table() const { return ns_.get_symbol_table(); }
inline const ObPLLabelTable *get_label_table() const { return ns_.get_label_table(); }
inline const ObPLConditionTable *get_condition_table() const { return ns_.get_condition_table(); }