diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-20 12:14:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-20 12:14:31 -0700 |
| commit | 338232bff7144c6a0e7964984765f01d9f9eecb7 (patch) | |
| tree | e62d8f184bf04df0906fcc6c8a04803febe35376 /source/slang/options.cpp | |
| parent | 40617db15d87ece6e7cc88da23f747f8f827c69a (diff) | |
| parent | 327f2b7ec50a7480b458d6d3ba8e2ca7fcdb8498 (diff) | |
Merge pull request #36 from tfoleyNV/entry-point-indexing
Overhaul handling of entry points and translation units.
Diffstat (limited to 'source/slang/options.cpp')
| -rw-r--r-- | source/slang/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/options.cpp b/source/slang/options.cpp index b3f0629c6..81b893d66 100644 --- a/source/slang/options.cpp +++ b/source/slang/options.cpp @@ -520,7 +520,7 @@ struct OptionsParser // Now place all those entry points where they belong for( auto& entryPoint : rawEntryPoints ) { - spAddTranslationUnitEntryPoint( + spAddEntryPoint( compileRequest, entryPoint.translationUnitIndex, entryPoint.name.begin(), |
