add a : to the line format.

This commit is contained in:
Kelvin Sherlock 2019-09-01 16:31:10 -04:00
parent 2edc3e4dd2
commit a0dfbd1291
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def read_data(f, name):
if line.startswith("#"): continue
if line.startswith("//"): continue
m = re.match(r'^"([^"]*)"\s+(\d+|0x[A-Fa-f0-9]+)$', line)
m = re.match(r'^"([^"]*)"\s*:\s*(\d+|0x[A-Fa-f0-9]+)$', line)
if not m:
err = "{}:{}: Bad data: {}".format(name,ln,line)
raise Exception(err)