summaryrefslogtreecommitdiffstats
path: root/source/slang/preprocessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/preprocessor.h')
-rw-r--r--source/slang/preprocessor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/slang/preprocessor.h b/source/slang/preprocessor.h
index 008707ffb..64591ef03 100644
--- a/source/slang/preprocessor.h
+++ b/source/slang/preprocessor.h
@@ -31,8 +31,7 @@ struct IncludeHandler
// Take a string of source code and preprocess it into a list of tokens.
TokenList preprocessSource(
- String const& source,
- String const& fileName,
+ SourceFile* file,
DiagnosticSink* sink,
IncludeHandler* includeHandler,
Dictionary<String, String> defines,