mirror of https://github.com/openXC7/prjxray.git
parsedb: ignore mask lines
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
1707c01306
commit
5ecf3a3f45
|
|
@ -11,6 +11,9 @@ def run(fnin, fnout=None, strict=False, verbose=False):
|
|||
line = line.strip()
|
||||
if line == '':
|
||||
continue
|
||||
# TODO: figure out what to do with masks
|
||||
if line.startswith("bit "):
|
||||
continue
|
||||
tag, bits, mode = util.parse_db_line(line)
|
||||
if strict:
|
||||
assert not mode, "strict: got ill defined line: %s" % (line, )
|
||||
|
|
|
|||
Loading…
Reference in New Issue