diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/compiler.h | 2 | ||||
| -rw-r--r-- | source/slang/diagnostics.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index 49d777931..d3b872054 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -265,7 +265,7 @@ namespace Slang /// Get the module that contains the entry point. Module* getModule(); - /// Get the linkage that contains the module for this entry pooint. + /// Get the linkage that contains the module for this entry point. Linkage* getLinkage(); /// Get a list of modules that this entry point depends on. diff --git a/source/slang/diagnostics.h b/source/slang/diagnostics.h index 9efc5efc6..72c272fa0 100644 --- a/source/slang/diagnostics.h +++ b/source/slang/diagnostics.h @@ -138,10 +138,7 @@ namespace Slang class DiagnosticSink { - public: - // The source manager to use when mapping source locations to file+line info - SourceManager* sourceManager; - + public: struct Flag { enum Enum: uint32_t @@ -158,7 +155,10 @@ namespace Slang ISlangWriter* writer = nullptr; Flags flags = 0; - + + // The source manager to use when mapping source locations to file+line info + SourceManager* sourceManager = nullptr; + /* void Error(int id, const String & msg, const SourceLoc & pos) { |
