mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 04:13:33 +01:00
Bug in ASSERT
Version:1.1.28
This commit is contained in:
parent
5826d2f004
commit
64e6854ef2
@ -381,10 +381,8 @@ def irp_simple_statements(text):
|
|||||||
'''Find condition in assert statement for debug'''
|
'''Find condition in assert statement for debug'''
|
||||||
assert isinstance(line,Assert)
|
assert isinstance(line,Assert)
|
||||||
match = re_test.search(line.text)
|
match = re_test.search(line.text)
|
||||||
if match is None:
|
|
||||||
result = [ line ]
|
|
||||||
else:
|
|
||||||
result = []
|
result = []
|
||||||
|
if match is not None:
|
||||||
matches = [ match.group(1).strip(), match.group(3).strip() ]
|
matches = [ match.group(1).strip(), match.group(3).strip() ]
|
||||||
for m in matches:
|
for m in matches:
|
||||||
if not(m.isdigit() or ("'" in m) or (m == "")):
|
if not(m.isdigit() or ("'" in m) or (m == "")):
|
||||||
|
@ -1 +1 @@
|
|||||||
version = "1.1.27"
|
version = "1.1.28"
|
||||||
|
Loading…
Reference in New Issue
Block a user