vppapigen: remove unreachable code 12/28212/2
authorOle Troan <ot@cisco.com>
Tue, 11 Aug 2020 14:18:09 +0000 (16:18 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 13 Aug 2020 07:33:08 +0000 (07:33 +0000)
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ifd81acaa020f6ebff20ec4eff4370d8a18323860

src/tools/vppapigen/vppapigen.py

index e571f26..3626ff8 100755 (executable)
@@ -130,7 +130,6 @@ class VPPAPILexer(object):
                                                  hex(ord(t.value[0])),
                                                  self.filename,
                                                  t.lexer.lineno))
-        t.lexer.skip(1)
 
     # Define a rule so we can track line numbers
     def t_newline(self, t):