Guard coding for ";" line

This commit is contained in:
WQY\qiong
2022-11-18 20:29:20 +08:00
parent 1193b656a4
commit 1c63ee0d49
5 changed files with 15 additions and 0 deletions

View File

@@ -185,6 +185,9 @@ def inp_in_reaction(section: list[str]) -> ChangeSet:
cs = ChangeSet()
for s in section:
if s.startswith(';'):
continue
tokens = s.strip().split()
token0 = tokens[0].upper()
if token0 == 'BULK' or token0 == 'WALL':