diff options
| author | Tim Foley <tim.foley.is@gmail.com> | 2017-08-14 18:50:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-14 18:50:46 -0700 |
| commit | aeb247cdf02e4dcfc0bb6839cfd291be5128f8ad (patch) | |
| tree | 7314b26e21ded966b6a4fe2430f0421c0c0970bd /source/slang/modifier-defs.h | |
| parent | bb66d6eddd649d8861cecefa2d6ccb7a28a827bc (diff) | |
| parent | 9885c972a6bfa6f856e505cdd90d9b71fdbdadaf (diff) | |
Merge pull request #159 from tfoleyNV/name-type
Name type
Diffstat (limited to 'source/slang/modifier-defs.h')
| -rw-r--r-- | source/slang/modifier-defs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/slang/modifier-defs.h b/source/slang/modifier-defs.h index b007b3296..ddfb9c410 100644 --- a/source/slang/modifier-defs.h +++ b/source/slang/modifier-defs.h @@ -193,7 +193,7 @@ SYNTAX_CLASS(GLSLExtensionDirective, GLSLPreprocessorDirective) END_SYNTAX_CLASS() SYNTAX_CLASS(ParameterBlockReflectionName, Modifier) - FIELD(Token, nameToken) + FIELD(NameLoc, nameAndLoc) END_SYNTAX_CLASS() // A modifier that indicates a built-in base type (e.g., `float`) @@ -270,7 +270,6 @@ SIMPLE_SYNTAX_CLASS(HLSLVolatileModifier, Modifier) // An HLSL `[name(arg0, ...)]` style attribute. SYNTAX_CLASS(HLSLAttribute, Modifier) - FIELD(Token, nameToken) SYNTAX_FIELD(List<RefPtr<Expr>>, args) END_SYNTAX_CLASS() |
