From 5f2b4e787231fd2f3dc09a2ab3dd50ca327319f2 Mon Sep 17 00:00:00 2001 From: Raman Date: Sat, 9 Jul 2016 12:57:07 +0200 Subject: [PATCH] Update idl_parser.cpp --- src/idl_parser.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index 8c0fdade3..b758e9592 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -423,13 +423,6 @@ CheckedError Parser::Next() { return NoError(); } else if (isdigit(static_cast(c)) || c == '-') { const char *start = cursor_ - 1; - const char *start_2 = cursor_ + 1; - if (c == '-' && *cursor_ == '0' && (*start_2 == 'x' || *start_2 == 'X')) { - ++start; - ++cursor_; - attribute_.append(&c, &c + 1); - c = '0'; - } if (c == '0' && (*cursor_ == 'x' || *cursor_ == 'X')) { cursor_++; while (isxdigit(static_cast(*cursor_))) cursor_++;