Skip to content

Commit

Permalink
Output enum forward decls in usages
Browse files Browse the repository at this point in the history
  • Loading branch information
7Hazard committed Aug 8, 2020
1 parent 7618325 commit b92410f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit b92410f

Please sign in to comment.