summaryrefslogtreecommitdiff
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2018-01-16 14:52:06 -0800
committerGitHub <noreply@github.com>2018-01-16 14:52:06 -0800
commit68f529af8d0eb8ec45a2d73e82c4ee372015ce01 (patch)
tree9895842d33893b9a233f58964cfa55b3974d6134 /source/slang/syntax.h
parent59691aeeb013c5bb7cdaa31a6fc572eebd8be610 (diff)
parenta74a5494b34e2b41a294042ab8b3e7bce115dcba (diff)
Merge pull request #370 from csyonghe/master
bug fixes to get falcor example shader code to compile.
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index 93e421977..b37301dec 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -969,6 +969,8 @@ namespace Slang
// used at all, to avoid allocation.
List<LookupResultItem> items;
+ HashSet<DeclRef<ContainerDecl>> lookedupDecls;
+
// Was at least one result found?
bool isValid() const { return item.declRef.getDecl() != nullptr; }
@@ -1009,7 +1011,6 @@ namespace Slang
struct LookupRequest
{
SemanticsVisitor* semantics = nullptr;
-
RefPtr<Scope> scope = nullptr;
RefPtr<Scope> endScope = nullptr;