From 7d3bfe403362b294cc2a1f2607d51dfcd447aafd Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Mon, 26 Jun 2017 09:32:40 -0700 Subject: 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. --- source/slang/preprocessor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/slang/preprocessor.h') 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 -- cgit v1.2.3