From 8cd57e5a60e46bd682d935c99092185b0eecfc18 Mon Sep 17 00:00:00 2001 From: Rainer Schuetze Date: Sat, 8 Apr 2017 16:28:09 +0200 Subject: [PATCH] make Parameters optional in TypeFunction A function can have no arguments. --- spec/abi.dd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/abi.dd b/spec/abi.dd index 8ff19120d2..f07856d568 100644 --- a/spec/abi.dd +++ b/spec/abi.dd @@ -454,7 +454,7 @@ $(H3 $(LNAME2 type_mangling, Type Mangling)) $(B Nh) $(GLINK Type) $(GNAME TypeFunction): - $(GLINK CallConvention) $(GLINK FuncAttrs)$(OPT) $(GLINK Parameters) $(GLINK ParamClose) $(GLINK Type) + $(GLINK CallConvention) $(GLINK FuncAttrs)$(OPT) $(GLINK Parameters)$(OPT) $(GLINK ParamClose) $(GLINK Type) $(GNAME CallConvention): $(B F) $(GREEN // D)