Additions and fixes based off genc repo

Typedef parses enum namespaced types properly (C typedefs of enums to expose to global scope).
This commit is contained in:
2023-07-16 23:18:00 -04:00
parent 41dc0e3fbb
commit 2a319ed6db
4 changed files with 88 additions and 0 deletions

View File

@ -5754,6 +5754,7 @@ namespace gen
}
if ( currtok.Type == TokType::Decl_Class
|| currtok.Type == TokType::Decl_Enum
|| currtok.Type == TokType::Decl_Struct )
{
name = currtok;