From f29a141ab4c4308aed66f930a6f3a42cd20a482d Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 11 Jun 2022 11:37:45 -0700 Subject: Changeset: 70 Fix cmake and codegen infra - Invoke codegen.exe once with a list of changed files, instead of individually for each changed file (this gives the codegen global access to all the code, allowing more things) - Initial support for outputting an archive SQLite database that contains all the code info --- source/20-codegen-compiler/CodegenDecl.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/20-codegen-compiler/CodegenDecl.hpp') diff --git a/source/20-codegen-compiler/CodegenDecl.hpp b/source/20-codegen-compiler/CodegenDecl.hpp index 60d5a13..739dbe4 100644 --- a/source/20-codegen-compiler/CodegenDecl.hpp +++ b/source/20-codegen-compiler/CodegenDecl.hpp @@ -77,6 +77,7 @@ struct DeclEnum { std::string_view fullname; std::vector elements; EnumUnderlyingType underlyingType; + std::string underlyingTypeStr; // Start with invalid value, calculate on demand mutable EnumValuePattern pattern = EVP_COUNT; -- cgit v1.2.3-70-g09d2