From b92410f0a351af4e725aad48c1d4311cc9766163 Mon Sep 17 00:00:00 2001 From: Hazard Date: Sat, 8 Aug 2020 02:56:09 +0200 Subject: [PATCH] Output enum forward decls in usages --- src/util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.hpp b/src/util.hpp index 2e6c5b5..1749b3f 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -403,7 +403,7 @@ struct Typedata logd("// enumaral type"); kind = ENUMERAL; // forward declared enums not allowed - // forwardDecl = "enum "; + forwardDecl = "enum "; ctype = ToCType(cpptypestr); } else if(type->isArrayType())