mirror of
https://github.com/ksherlock/hystricomorph.git
synced 2025-07-08 18:23:51 +00:00
use // comments for cpp compatibility.
This commit is contained in:
@ -160,7 +160,8 @@ def read_data(f, name):
|
|||||||
ln = ln + 1
|
ln = ln + 1
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if line == "" : continue
|
if line == "" : continue
|
||||||
if line[0] == "#" : continue
|
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+(\d+|0x[A-Fa-f0-9]+)$', line)
|
||||||
if not m:
|
if not m:
|
||||||
|
Reference in New Issue
Block a user