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:
parent
6568fd4166
commit
3521e4b926
@ -670,10 +670,13 @@ def process_old_style_do(text):
|
|||||||
line = text[i]
|
line = text[i]
|
||||||
if type(line) == Do:
|
if type(line) == Do:
|
||||||
buffer = line.text.split()
|
buffer = line.text.split()
|
||||||
if buffer[1].isdigit():
|
try:
|
||||||
|
if buffer[1].isdigit():
|
||||||
number = buffer.pop(1)
|
number = buffer.pop(1)
|
||||||
change_matching_enddo(i,number)
|
change_matching_enddo(i,number)
|
||||||
line.text = " ".join(buffer)
|
line.text = " ".join(buffer)
|
||||||
|
except IndexError:
|
||||||
|
pass
|
||||||
result.append(line)
|
result.append(line)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
version = "1.1.59"
|
version = "1.1.60"
|
||||||
|
Loading…
Reference in New Issue
Block a user