From 7ae3db2f62d5c5d84248041291defea5dd3da456 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 May 2011 05:15:39 -0400 Subject: Minor fixes to AIS tables and generation machinery. --- devtools/tablegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools/tablegen.py') 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) -- cgit v1.2.1