diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-02-13 10:40:57 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-13 10:40:57 -0500 |
| commit | 259cfa9dabca31bb1739f9ca1b42e7ca1181652f (patch) | |
| tree | 78273886addaf9598fb11f2699bfca34551bb965 /source/slang/diagnostic-defs.h | |
| parent | 73af7100416e1627d1de0aaa94983f56406a9d49 (diff) | |
Fix typos in diagnostic message and comments (#843)
* * Fix some comment typos
* Fix typo in diagnostic message
* Fix typo in expected output of undefined-in-preprocessor-conditional
Diffstat (limited to 'source/slang/diagnostic-defs.h')
| -rw-r--r-- | source/slang/diagnostic-defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/diagnostic-defs.h b/source/slang/diagnostic-defs.h index 8826490a0..51076bde1 100644 --- a/source/slang/diagnostic-defs.h +++ b/source/slang/diagnostic-defs.h @@ -141,7 +141,7 @@ DIAGNOSTIC(15201, Error, syntaxErrorInPreprocessorExpression, "syntax error in p DIAGNOSTIC(15202, Error, divideByZeroInPreprocessorExpression, "division by zero in preprocessor expression"); DIAGNOSTIC(15203, Error, expectedTokenInDefinedExpression, "expected '$0' in 'defined' expression"); DIAGNOSTIC(15204, Warning, directiveExpectsExpression, "'$0' directive requires an expression"); -DIAGNOSTIC(15205, Warning, undefinedIdentifierInPreprocessorExpression, "undefined idenfier '$0' in preprocessor expression will evaluate to zero") +DIAGNOSTIC(15205, Warning, undefinedIdentifierInPreprocessorExpression, "undefined identifier '$0' in preprocessor expression will evaluate to zero") DIAGNOSTIC(-1, Note, seeOpeningToken, "see opening '$0'") |
