summaryrefslogtreecommitdiff
path: root/devtools/tablegen.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-05-26 05:15:39 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-05-26 05:15:39 -0400
commit7ae3db2f62d5c5d84248041291defea5dd3da456 (patch)
tree73eaca436639dfaffbe720ba1b32b5b80e908bce /devtools/tablegen.py
parent34e8c4a4534b57bb1a4bf81ac8a9a5c7a845d08a (diff)
downloadgpsd-7ae3db2f62d5c5d84248041291defea5dd3da456.tar.gz
Minor fixes to AIS tables and generation machinery.
Diffstat (limited to 'devtools/tablegen.py')
-rwxr-xr-xdevtools/tablegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/tablegen.py b/devtools/tablegen.py
index 8a7db624..5d8badf1 100755
--- a/devtools/tablegen.py
+++ b/devtools/tablegen.py
@@ -112,7 +112,7 @@ def make_structure(wfp):
continue
if ftype == 'x' or not record:
continue
- if ftype == 'u' or ftype == 'e' or or ftype[0] == 'U':
+ if ftype == 'u' or ftype == 'e' or ftype[0] == 'U':
decl = "unsigned int %s;\t/* %s */" % (name, description)
elif ftype == 'i' or ftype[0] == 'I':
decl = "signed int %s;\t/* %s */" % (name, description)