summaryrefslogtreecommitdiff
path: root/source/slang/token-defs.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2018-07-31 11:03:53 -0400
committerGitHub <noreply@github.com>2018-07-31 11:03:53 -0400
commit9914ca800c92e9b3fe768dec4e913a302f3d678d (patch)
tree49544fb2c0387f39876fd99e112cfc32ed05302d /source/slang/token-defs.h
parent171f524d7ca2922084a33f50c77a1e8797e80949 (diff)
Feature/attributed binding (#621)
* Typo fix, and added dxc to command line documentation. * Fix small typos. Added support for Scope to lexer. Fix bug in Token ctor. * Add support for attribute names that are scoped. * Added GLSLBindingAttribute. Make binding work through core.met.slang. * Allow [[gl::binding(binding, set)]] [[vk::binding(binding,set)]]
Diffstat (limited to 'source/slang/token-defs.h')
-rw-r--r--source/slang/token-defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/token-defs.h b/source/slang/token-defs.h
index a08084d85..873a252b4 100644
--- a/source/slang/token-defs.h
+++ b/source/slang/token-defs.h
@@ -88,6 +88,8 @@ PUNCTUATION(Dollar, "$")
PUNCTUATION(Pound, "#")
PUNCTUATION(PoundPound, "##")
+PUNCTUATION(Scope, "::")
+
#undef PUNCTUATION
// Un-define the `TOKEN` macro so that client doesn't have to