From b7f8f7abcc3cc1dfa820ebba47a772b78d6a4cfb Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 29 Jan 2019 11:41:54 -0800 Subject: Add support for user defined attributes. --- source/slang/diagnostic-defs.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/slang/diagnostic-defs.h') 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 -- cgit v1.2.3