10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-12-21 11:53:32 +01:00

Allowed do\n enddo

Version:1.1.60
This commit is contained in:
Anthony Scemama 2010-11-26 09:28:12 +01:00
parent 6568fd4166
commit 3521e4b926
2 changed files with 5 additions and 2 deletions

View File

@ -670,10 +670,13 @@ def process_old_style_do(text):
line = text[i]
if type(line) == Do:
buffer = line.text.split()
try:
if buffer[1].isdigit():
number = buffer.pop(1)
change_matching_enddo(i,number)
line.text = " ".join(buffer)
except IndexError:
pass
result.append(line)
return result

View File

@ -1 +1 @@
version = "1.1.59"
version = "1.1.60"