diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2020-04-03 12:18:40 -0400 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-04-06 11:30:05 +0000 |
commit | 582eac5c30e78f65ba0127aed2cb7442f4122fd2 (patch) | |
tree | 39ad2be057c49fcf9282eb05455e68ae3323ac17 /src/tools | |
parent | c17d6cfaf4fc66927f28af9d8d7cb8ce2a1d839c (diff) |
misc: fix python sonarcloud BLOCKER level issues
Fix of the top 11 python issues flagged as BLOCKER.
Ticket: VPP-1856
Type: fix
Change-Id: Icf4691e62f4a69d6ee196b6d6e2ab52d961b5c76
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/tools')
-rwxr-xr-x | src/tools/vppapigen/vppapigen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/vppapigen/vppapigen.py b/src/tools/vppapigen/vppapigen.py index f3013aa6021..b17ad6d15c9 100755 --- a/src/tools/vppapigen/vppapigen.py +++ b/src/tools/vppapigen/vppapigen.py @@ -648,7 +648,7 @@ class VPPAPIParser(object): elif len(p) == 4: p[0] = Field(p[1], p[2]) else: - self._parse_error('ERROR') + self._parse_error('ERROR', self._token_coord(p, 1)) self.fields.append(p[2]) def p_declaration_array_vla(self, p): |