summaryrefslogtreecommitdiffstats
path: root/source/slang/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/parser.h')
-rw-r--r--source/slang/parser.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/slang/parser.h b/source/slang/parser.h
index 785b6e345..abad902da 100644
--- a/source/slang/parser.h
+++ b/source/slang/parser.h
@@ -14,10 +14,13 @@ namespace Slang
DiagnosticSink* sink,
RefPtr<Scope> const& outerScope);
- RefPtr<Expr> parseTypeFromSourceFile(TranslationUnitRequest* translationUnit,
+ RefPtr<Expr> parseTypeFromSourceFile(
+ Session* session,
TokenSpan const& tokens,
DiagnosticSink* sink,
- RefPtr<Scope> const& outerScope);
+ RefPtr<Scope> const& outerScope,
+ NamePool* namePool,
+ SourceLanguage sourceLanguage);
RefPtr<ModuleDecl> populateBaseLanguageModule(
Session* session,