diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-26 05:15:39 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-26 05:15:39 -0400 |
commit | 7ae3db2f62d5c5d84248041291defea5dd3da456 (patch) | |
tree | 73eaca436639dfaffbe720ba1b32b5b80e908bce /devtools/tablegen.py | |
parent | 34e8c4a4534b57bb1a4bf81ac8a9a5c7a845d08a (diff) | |
download | gpsd-7ae3db2f62d5c5d84248041291defea5dd3da456.tar.gz |
Minor fixes to AIS tables and generation machinery.
Diffstat (limited to 'devtools/tablegen.py')
-rwxr-xr-x | devtools/tablegen.py | 2 |
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) |