summaryrefslogtreecommitdiffstats
path: root/source/slang/preprocessor.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-06-26 09:32:40 -0700
committerTim Foley <tfoley@nvidia.com>2017-06-26 12:06:54 -0700
commit7d3bfe403362b294cc2a1f2607d51dfcd447aafd (patch)
tree4dac8dcdb29a0d8e74f78f12c0bbe63e669b2b0c /source/slang/preprocessor.h
parent3f316dcbd9274efc74f817cf36f17a511ff2e21e (diff)
Replace "auto-import" with `#import`
Right now `#import` only differs from `#include` in that it takes a string literal for a file name instead of a raw identifier (to which `.slang` gets appended). The next step is to make `#import` respect preprocessor state, while `__import` doesn't.
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 0c7848bb4..ebeb810a0 100644
--- a/source/slang/preprocessor.h
+++ b/source/slang/preprocessor.h
@@ -15,8 +15,7 @@ enum class IncludeResult
{
Error,
NotFound,
- FoundIncludeFile,
- FoundAutoImportFile,
+ Found,
};
// Callback interface for the preprocessor to use when looking