diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-10-20 09:44:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-20 09:44:48 -0400 |
| commit | 624809ab356a54dad6cda9ce4d8f881e392d6e97 (patch) | |
| tree | 6286ecc86f8c6e4343aa61cdb646bc019691a4a0 /premake5.lua | |
| parent | 9b25d4aa0b6219ce4e4429f9749c7c493531a3cd (diff) | |
Small improvement in AST serialization (#1582)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Make AST serialization types, marker include _AST_. Ie SLANG_CLASS -> SLANG_AST_CLASS and SLANG_ABSTRACT_CLASS -> SLANG_ABSTRACT_AST_CLASS
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index 0d3887986..23d7d3e60 100644 --- a/premake5.lua +++ b/premake5.lua @@ -870,7 +870,7 @@ generatorProject("run-generators", "source/slang/") filter "files:**/slang-ast-reflect.h" do local inputFiles = { "slang-ast-base.h", "slang-ast-decl.h", "slang-ast-expr.h", "slang-ast-modifier.h", "slang-ast-stmt.h", "slang-ast-type.h", "slang-ast-val.h" } - runCPPExtractor(sourcePath, "ast", inputFiles, "slang-ast", "ASTNode", "_CLASS") + runCPPExtractor(sourcePath, "ast", inputFiles, "slang-ast", "ASTNode", "_AST_CLASS") end end |
