aboutsummaryrefslogtreecommitdiff
path: root/neb
diff options
context:
space:
mode:
Diffstat (limited to 'neb')
-rw-r--r--neb/structs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/neb/structs.py b/neb/structs.py
index f6bd3af..3ab35cc 100644
--- a/neb/structs.py
+++ b/neb/structs.py
@@ -131,8 +131,8 @@ class Arg:
def string_args(args, many):
out = [f"{arg}" for arg in args]
if many is not None:
- many.name = "&"
- out.append(f"{many}")
+ many_dup = Arg("&", many.type_)
+ out.append(f"{many_dup}")
return " ".join(out).strip()
class Environment: