Skip classes that starts with _.

This commit is contained in:
Relintai 2024-01-06 12:21:05 +01:00
parent 24f54f1b19
commit 6e00a23a28

View File

@ -50,7 +50,14 @@ String generate_section_class_list(const List<String> &list) {
for (const List<String>::Element *E = list.front(); E; E = E->next()) {
String c = E->get();
d += code_template.replace("$CODE$", c).replace("$NAME$", get_structure_name(c));
String sname = get_structure_name(c);
if (sname.begins_with("_")) {
//ERR_PRINT(sname);
continue;
}
d += code_template.replace("$CODE$", c).replace("$NAME$", sname);
}
return d;