diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-03-30 15:43:06 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-03-30 15:43:06 +0000 |
commit | 9e193d7b009945bb32334433a9eb4ceed63f0251 (patch) | |
tree | fa6ffc53c46513112052faf57363b010723dfd5a /idlc/inc | |
parent | 90042ae00cf316bd6a8f0fe521f3a20e41d58dc1 (diff) |
INTEGRATION: CWS sb14 (1.3.4); FILE MERGED
2004/03/15 09:53:55 sb 1.3.4.4: #i21150# Adapted to new extensible type writer interface; added support for bound interface attributes.
2004/03/12 14:30:28 sb 1.3.4.3: #i21150# Added support for extended attributes (still need to fix TODO in AstAttribute::dumpBlob.
2004/03/05 08:35:17 sb 1.3.4.2: #i21150# Support for rest parameters; clean up.
2004/03/01 12:53:49 sb 1.3.4.1: #i21150# Added optional interface inheritance; added -stdin switch; do not warn about bad member names of com.sun.star.uno.Uik; some general clean up and added const qualifiers.
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/idlc/errorhandler.hxx | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/idlc/inc/idlc/errorhandler.hxx b/idlc/inc/idlc/errorhandler.hxx index 81a1e4c9fb73..0a72ecdce762 100644 --- a/idlc/inc/idlc/errorhandler.hxx +++ b/idlc/inc/idlc/errorhandler.hxx @@ -2,9 +2,9 @@ * * $RCSfile: errorhandler.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2004-02-03 11:56:07 $ + * last change: $Author: rt $ $Date: 2004-03-30 16:43:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -115,10 +115,17 @@ enum ErrorCode EIDL_DEFINED_ATTRIBUTEFLAG, EIDL_WRONGATTRIBUTEKEYWORD, EIDL_MISSINGATTRIBUTEKEYWORD, - EIDL_ATTRIBUTEREADONLYEXPECTED, + EIDL_BAD_ATTRIBUTE_FLAGS, EIDL_OPTIONALEXPECTED, EIDL_MIXED_INHERITANCE, - EIDL_DOUBLE_INHERITANCE + EIDL_DOUBLE_INHERITANCE, + EIDL_DOUBLE_MEMBER, + EIDL_CONSTRUCTOR_PARAMETER_NOT_IN, + EIDL_CONSTRUCTOR_REST_PARAMETER_NOT_FIRST, + EIDL_REST_PARAMETER_NOT_LAST, + EIDL_REST_PARAMETER_NOT_ANY, + EIDL_METHOD_HAS_REST_PARAMETER, + EIDL_READONLY_ATTRIBUTE_SET_EXCEPTIONS }; enum WarningCode @@ -135,8 +142,9 @@ class ErrorHandler public: // Report errors with varying numbers of arguments void error0(ErrorCode e); - void error1(ErrorCode e, AstDeclaration* d); - void error2(ErrorCode e, AstDeclaration* d1, AstDeclaration* d2); + void error1(ErrorCode e, AstDeclaration const * d); + void error2( + ErrorCode e, AstDeclaration const * d1, AstDeclaration const * d2); void error3(ErrorCode e, AstDeclaration* d1, AstDeclaration* d2, AstDeclaration* d3); // Warning @@ -160,7 +168,7 @@ public: // Report a type error - void noTypeError(AstDeclaration* pDecl); + void noTypeError(AstDeclaration const * pDecl); void inheritanceError(NodeType nodeType, const ::rtl::OString* name, AstDeclaration* pDecl); |