summaryrefslogtreecommitdiff
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index 0dbdd8238..0f23492d6 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -805,8 +805,9 @@ namespace Slang
type = 0x1,
Function = 0x2,
Value = 0x4,
+ Attribute = 0x8,
- All = type | Function | Value,
+ Default = type | Function | Value,
};
// Represents one item found during lookup
@@ -1000,7 +1001,7 @@ namespace Slang
RefPtr<Scope> scope = nullptr;
RefPtr<Scope> endScope = nullptr;
- LookupMask mask = LookupMask::All;
+ LookupMask mask = LookupMask::Default;
};
// Generate class definition for all syntax classes