summaryrefslogtreecommitdiffstats
path: root/source/slang/preprocessor.h
diff options
context:
space:
mode:
authorTim Foley <tim.foley.is@gmail.com>2017-08-10 15:25:04 -0700
committerGitHub <noreply@github.com>2017-08-10 15:25:04 -0700
commitdb4079f7e3635a6a61b8725643b1d7ecf68b97d8 (patch)
tree224c16ad374c5ed533a497beeb75753e7ce2d771 /source/slang/preprocessor.h
parent6e4830f4d74adef0a47c6503d84dc114240fafa3 (diff)
parenta5a436c4783fb75a0d089a6483219c06db91f593 (diff)
Merge pull request #156 from tfoleyNV/source-file-cleanup
Make source location lightweight
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,