Change-Id: I1c2503acf41d070b4ead7c3ae677788ab931652b
Signed-off-by: Semun Lee <semun.lee@samsung.com>
namespace tidl {
-Parser::Parser() : scanner_(nullptr) {
+Parser::Parser() : scanner_(nullptr), error_(false) {
yylex_init(&scanner_);
}
class CsProxyGenTest : public testing::Test {
public:
- tidl::Parser* ps = new tidl::Parser();
+ tidl::Parser* ps = nullptr;
virtual void SetUp() {
ps = new tidl::Parser();
class CsStubGenTest : public testing::Test {
public:
- tidl::Parser* ps = new tidl::Parser();
+ tidl::Parser* ps = nullptr;
virtual void SetUp() {
ps = new tidl::Parser();