10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-06-24 14:12:08 +02:00

Bug in ASSERT

Version:1.1.28
This commit is contained in:
Anthony Scemama 2009-09-25 15:04:54 +02:00
parent 5826d2f004
commit 64e6854ef2
2 changed files with 3 additions and 5 deletions

View File

@ -381,10 +381,8 @@ def irp_simple_statements(text):
'''Find condition in assert statement for debug'''
assert isinstance(line,Assert)
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() ]
for m in matches:
if not(m.isdigit() or ("'" in m) or (m == "")):

View File

@ -1 +1 @@
version = "1.1.27"
version = "1.1.28"