summaryrefslogtreecommitdiff
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index c36808199..d16770a1d 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -1375,7 +1375,7 @@ protected:
// whether any macro values were set in a given source file
// that are semantically relevant to other stages of compilation.
//
- void handleEndOfFile(Preprocessor* preprocessor) SLANG_OVERRIDE
+ void handleEndOfTranslationUnit(Preprocessor* preprocessor) SLANG_OVERRIDE
{
// We look at the preprocessor state after reading the entire
// source file/string, in order to see if any macros have been