diff options
| author | Yong He <yonghe@outlook.com> | 2023-09-08 15:57:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-08 15:57:00 -0700 |
| commit | 26a0b3e04689fee1ec9ec071eacd72faf1efe4eb (patch) | |
| tree | 35dc68c088d42c80055de81eaa9ca691496366a7 /source/slang/slang-check-modifier.cpp | |
| parent | 26a7cf79526b86a3dff4084d42dde8f1a8c9ac1d (diff) | |
Fix attribute highlighting + language server crash. (#3198)
* Fix attribute highlighting + language server crash.
* Fix wave intrinsic.
* Fix.
* Fix.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-check-modifier.cpp')
| -rw-r--r-- | source/slang/slang-check-modifier.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-check-modifier.cpp b/source/slang/slang-check-modifier.cpp index 21d7669ce..53283fbe1 100644 --- a/source/slang/slang-check-modifier.cpp +++ b/source/slang/slang-check-modifier.cpp @@ -810,6 +810,7 @@ namespace Slang // First copy all of the state over from the original attribute. attr->keywordName = uncheckedAttr->keywordName; + attr->originalIdentifierToken = uncheckedAttr->originalIdentifierToken; attr->args = uncheckedAttr->args; attr->loc = uncheckedAttr->loc; attr->attributeDecl = attrDecl; |
