summaryrefslogtreecommitdiffstats
path: root/tools/scripts/makeargs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scripts/makeargs.py')
-rw-r--r--tools/scripts/makeargs.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/tools/scripts/makeargs.py b/tools/scripts/makeargs.py
index 8c5539c5fe..7db9da82a8 100644
--- a/tools/scripts/makeargs.py
+++ b/tools/scripts/makeargs.py
@@ -67,20 +67,20 @@ text="""
for i in range(1,8):
- tp=""
- p=""
- t=""
- for j in range(i):
- if (j>0):
- tp+=", "
- p+=", "
- t+=", "
- tp +=("m_arg"+str(j+1)+" p"+str(j+1))
- p+=("p"+str(j+1))
- t+=("m_arg"+str(j+1))
-
- t = text.replace("$argtp",tp).replace("$argp",p).replace("$argt",t).replace("$num",str(i))
- print(t)
+ tp=""
+ p=""
+ t=""
+ for j in range(i):
+ if (j>0):
+ tp+=", "
+ p+=", "
+ t+=", "
+ tp +=("m_arg"+str(j+1)+" p"+str(j+1))
+ p+=("p"+str(j+1))
+ t+=("m_arg"+str(j+1))
+
+ t = text.replace("$argtp",tp).replace("$argp",p).replace("$argt",t).replace("$num",str(i))
+ print(t)