10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-12-21 20:03:33 +01:00

changed preprocessed_text.py - vijay

This commit is contained in:
vijaygopalchilkuri 2013-07-01 13:12:37 +02:00
parent 42c898d509
commit 3d50cbc3e4
68 changed files with 124706 additions and 19 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

3912
src/create_man.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/create_man.so Executable file

Binary file not shown.

2334
src/error.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/error.so Executable file

Binary file not shown.

2404
src/init.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/init.so Executable file

Binary file not shown.

2488
src/irp_stack.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/irp_stack.so Executable file

Binary file not shown.

3053
src/irpf90.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/irpf90.exe Executable file

Binary file not shown.

BIN
src/irpf90.so Executable file

Binary file not shown.

14596
src/irpf90_t.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/irpf90_t.so Executable file

Binary file not shown.

2029
src/locks.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/locks.so Executable file

Binary file not shown.

4550
src/makefile.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/makefile.so Executable file

Binary file not shown.

7953
src/module.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/module.so Executable file

Binary file not shown.

2567
src/modules.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/modules.so Executable file

Binary file not shown.

16797
src/parsed_text.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/parsed_text.so Executable file

Binary file not shown.

20889
src/preprocessed_text.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -355,7 +355,11 @@ def add_operators(text):
for line in text:
buffer = line.text
if "+=" in buffer:
line.text = re.sub(re_incr,r'\1\2=\2+(\4)', buffer)
if "if" in buffer:
re_incr = re.compile(r"(.*)(\))(\s*)(.*)(\+=)(.*$)",re.S)
line.text = re.sub(re_incr,r'\1\2\4=\4+(\6)', buffer)
else:
line.text = re.sub(re_incr,r'\1\2=\2+(\4)', buffer)
elif "-=" in buffer:
line.text = re.sub(re_decr,r'\1\2=\2-(\4)', buffer)
elif "*=" in buffer:

BIN
src/preprocessed_text.so Executable file

Binary file not shown.

2710
src/profile.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/profile.so Executable file

Binary file not shown.

1546
src/regexps.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/regexps.so Executable file

Binary file not shown.

4223
src/subroutine.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/subroutine.so Executable file

Binary file not shown.

2224
src/subroutines.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/subroutines.so Executable file

Binary file not shown.

2561
src/touches.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/touches.so Executable file

Binary file not shown.

5800
src/util.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/util.so Executable file

Binary file not shown.

15213
src/variable.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/variable.so Executable file

Binary file not shown.

3746
src/variables.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/variables.so Executable file

Binary file not shown.

1176
src/version.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/version.so Executable file

Binary file not shown.

1912
src/vim.c Normal file

File diff suppressed because it is too large Load Diff

BIN
src/vim.so Executable file

Binary file not shown.