result* get_result(void);
bool has_exception()
- { return (result_type==exception); }
+ { return (result_type==exception && ex != NULL); }
bool has_result()
- { return (result_type==regular); }
+ { return (result_type==regular && res != NULL); }
};
/** @brief contains a libt2n::command