trivial change

This commit is contained in:
Simon Thornington 2021-04-10 18:58:42 -04:00
parent 53637af809
commit 1e5305a2a4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class LiteScopeAnalyzerDriver:
v <<= 4 if mx is not None else 1 v <<= 4 if mx is not None else 1
m <<= 4 if mx is not None else 1 m <<= 4 if mx is not None else 1
if c != "x": if c != "x":
v |= int(c, 16 if mx is not None else 2) v |= int(c, 16 if mx is not None else 2 )
m |= 0xf if mx is not None else 0b1 m |= 0xf if mx is not None else 0b1
value |= getattr(self, k + "_o")*v value |= getattr(self, k + "_o")*v
mask |= getattr(self, k + "_m") & (getattr(self, k + "_o")*m) mask |= getattr(self, k + "_m") & (getattr(self, k + "_o")*m)