diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-15 15:54:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-15 15:54:35 -0700 |
| commit | 1353a7854a738ae173aa1b2f3361f54b82757095 (patch) | |
| tree | 199e9a54596c572015c7b0652e62b941418f483f /source/slang/preprocessor.h | |
| parent | c34a433d7aa3fdbfefee22f20d5aac2d960f392a (diff) | |
| parent | 04d43cd71f081f1b8d2f0fd803a47cb6342e4fcd (diff) | |
Merge pull request #26 from tfoleyNV/cleanup
Cleanup
Diffstat (limited to 'source/slang/preprocessor.h')
| -rw-r--r-- | source/slang/preprocessor.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/slang/preprocessor.h b/source/slang/preprocessor.h index ab72f3f87..a3c5336f5 100644 --- a/source/slang/preprocessor.h +++ b/source/slang/preprocessor.h @@ -5,7 +5,7 @@ #include "../core/basic.h" #include "../slang/lexer.h" -namespace Slang{ namespace Compiler { +namespace Slang { class DiagnosticSink; class ProgramSyntaxNode; @@ -15,21 +15,21 @@ class ProgramSyntaxNode; struct IncludeHandler { virtual bool TryToFindIncludeFile( - CoreLib::String const& pathToInclude, - CoreLib::String const& pathIncludedFrom, - CoreLib::String* outFoundPath, - CoreLib::String* outFoundSource) = 0; + String const& pathToInclude, + String const& pathIncludedFrom, + String* outFoundPath, + String* outFoundSource) = 0; }; // Take a string of source code and preprocess it into a list of tokens. TokenList preprocessSource( - CoreLib::String const& source, - CoreLib::String const& fileName, + String const& source, + String const& fileName, DiagnosticSink* sink, IncludeHandler* includeHandler, - CoreLib::Dictionary<CoreLib::String, CoreLib::String> defines, + Dictionary<String, String> defines, ProgramSyntaxNode* syntax); -}} +} // namespace Slang #endif |
