summaryrefslogtreecommitdiff
path: root/source/slang/diagnostic-defs.h
diff options
context:
space:
mode:
authorYong He <yonghe@google.com>2019-01-29 11:41:54 -0800
committerYong He <yonghe@google.com>2019-01-29 11:41:54 -0800
commitb7f8f7abcc3cc1dfa820ebba47a772b78d6a4cfb (patch)
tree26d81dec1162ee9d26b811f0b7621e74ade9e06f /source/slang/diagnostic-defs.h
parentf8b8ea0055ad877551198e1e295d33860b504672 (diff)
Add support for user defined attributes.
Diffstat (limited to 'source/slang/diagnostic-defs.h')
-rw-r--r--source/slang/diagnostic-defs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/slang/diagnostic-defs.h b/source/slang/diagnostic-defs.h
index 2c4f00dd6..68790d4ab 100644
--- a/source/slang/diagnostic-defs.h
+++ b/source/slang/diagnostic-defs.h
@@ -260,9 +260,8 @@ DIAGNOSTIC(31005, Error, expectedSingleStringArg, "attribute '$0' expects a sing
DIAGNOSTIC(31006, Error, attributeFunctionNotFound, "Could not find function '$0' for attribute'$1'")
-DIAGNOSTIC(31100, Error, unknownStageName, "unknown stage name '$0'")
-
-
+DIAGNOSTIC(31100, Error, unknownStageName, "unknown stage name '$0'")
+DIAGNOSTIC(31120, Error, invalidAttributeTarget, "invalid syntax target for user defined attribute")
// Enums