mirror of
https://github.com/ksherlock/hystricomorph.git
synced 2025-02-18 11:30:34 +00:00
use // comments for cpp compatibility.
This commit is contained in:
parent
ecd9d0b6ae
commit
548761d901
@ -160,7 +160,8 @@ def read_data(f, name):
|
||||
ln = ln + 1
|
||||
line = line.strip()
|
||||
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)
|
||||
if not m:
|
||||
|
Loading…
x
Reference in New Issue
Block a user