diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-01-17 01:04:27 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-01-17 01:04:27 +0000 |
commit | 883692ebd421c40b44e2c2665e5f54dade5621bc (patch) | |
tree | c7542f6e2bb87686f9c1ff81a7f2b3b97b67399c /include/clang/Basic | |
parent | 0a151a137a68bb656acbcce7ff2407613bb80cfc (diff) |
Improve diagnostics for dangling '}'.
Fixes PR6484. Patch from Jason Switzer!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/DiagnosticParseKinds.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td index e4a9fdc3a4..7675a566eb 100644 --- a/include/clang/Basic/DiagnosticParseKinds.td +++ b/include/clang/Basic/DiagnosticParseKinds.td @@ -119,6 +119,7 @@ def err_parse_error : Error<"parse error">; def err_expected_expression : Error<"expected expression">; def err_expected_type : Error<"expected a type">; def err_expected_external_declaration : Error<"expected external declaration">; +def err_extraneous_closing_brace : Error<"extraneous closing brace ('}')">; def err_expected_ident : Error<"expected identifier">; def err_expected_ident_lparen : Error<"expected identifier or '('">; def err_expected_ident_lbrace : Error<"expected identifier or '{'">; |