Synopsis - Cross-Reference

File: /Synopsis/Parsers/IDL/idlerr.h
 1// -*- c++ -*-
 2
 3//                          Package   : omniidl
 4// idlerr.h                 Created on: 1999/10/11
 5//			    Author    : Duncan Grisby (dpg1)
 6//
 7//    Copyright (C) 1999 AT&T Laboratories Cambridge
 8//
 9//  This file is part of omniidl.
10//
11//  omniidl is free software; you can redistribute it and/or modify it
12//  under the terms of the GNU General Public License as published by
13//  the Free Software Foundation; either version 2 of the License, or
14//  (at your option) any later version.
15//
16//  This program is distributed in the hope that it will be useful,
17//  but WITHOUT ANY WARRANTY; without even the implied warranty of
18//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19//  General Public License for more details.
20//
21//  You should have received a copy of the GNU General Public License
22//  along with this program; if not, write to the Free Software
23//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24//  02111-1307, USA.
25//
26// Description:
27//   
28//   IDL compiler error handling
29
30// $Id: idlerr.h,v 1.7.2.1 2003/03/23 21:01:46 dgrisby Exp $
31// $Log: idlerr.h,v $
32// Revision 1.7.2.1  2003/03/23 21:01:46  dgrisby
33// Start of omniORB 4.1.x development branch.
34//
35// Revision 1.4.2.2  2000/10/27 16:31:09  dpg1
36// Clean up of omniidl dependencies and types, from omni3_develop.
37//
38// Revision 1.4.2.1  2000/07/17 10:36:03  sll
39// Merged from omni3_develop the diff between omni3_0_0_pre3 and omni3_0_0.
40//
41// Revision 1.5  2000/07/13 15:25:53  dpg1
42// Merge from omni3_develop for 3.0 release.
43//
44// Revision 1.2  1999/10/29 15:43:44  dpg1
45// Error counts now reset when Report...() is called.
46//
47// Revision 1.1  1999/10/27 14:05:57  dpg1
48// *** empty log message ***
49//
50
51#ifndef _idlerr_h_
52#define _idlerr_h_
53
54#include <idlutil.h>
55
56extern int errorCount;
57extern int warningCount;
58
59// Error report and continuation
60void IdlError(const char* file, int line, const char* fmt ...);
61void IdlErrorCont(const char* file, int line, const char* fmt ...);
62
63void IdlSyntaxError(const char* file, int line, const char* mesg);
64
65// Warning report and continuation
66void IdlWarning(const char* file, int line, const char* fmt ...);
67void IdlWarningCont(const char* file, int line, const char* fmt ...);
68
69IDL_Boolean IdlReportErrors();
70
71#endif // _idlerr_h_