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/options.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source/slang/options.cpp') diff --git a/source/slang/options.cpp b/source/slang/options.cpp index 81b893d66..62b45e025 100644 --- a/source/slang/options.cpp +++ b/source/slang/options.cpp @@ -375,14 +375,6 @@ struct OptionsParser compileRequest, String(includeDirStr).begin()); } - else if (argStr == "-auto-import-dir") - { - char const* importDirStr = tryReadCommandLineArgumentRaw(arg, &argCursor, argEnd); - - spAddAutoImportPath( - compileRequest, - String(importDirStr).begin()); - } else if (argStr == "--") { // The `--` option causes us to stop trying to parse options, -- cgit v1.2.3