summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/compiler.cpp')
-rw-r--r--source/slang/compiler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/compiler.cpp b/source/slang/compiler.cpp
index 172bc33b9..a9711310b 100644
--- a/source/slang/compiler.cpp
+++ b/source/slang/compiler.cpp
@@ -260,7 +260,7 @@ namespace Slang
{
codeBuilder << "#line 1 \"";
- const String& path = sourceFile->pathInfo.foundPath;
+ const String& path = sourceFile->getPathInfo().foundPath;
for(auto c : path)
{
@@ -277,7 +277,7 @@ namespace Slang
}
codeBuilder << "\"\n";
- codeBuilder << sourceFile->content << "\n";
+ codeBuilder << sourceFile->getContent() << "\n";
}
return codeBuilder.ProduceString();
@@ -322,7 +322,7 @@ namespace Slang
{
codeBuilder << "#line 1 " << translationUnitIndex << "\n";
}
- codeBuilder << sourceFile->content << "\n";
+ codeBuilder << sourceFile->getContent() << "\n";
}
return codeBuilder.ProduceString();