equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __RCSCAN_H__ |
|
20 #define __RCSCAN_H__ |
|
21 |
|
22 #include "FILELINE.H" |
|
23 #include <stdio.h> |
|
24 |
|
25 class rcscan |
|
26 { |
|
27 public: |
|
28 rcscan(const FileLineManager& aFileLineHandler,FILE* aSourceFile); |
|
29 virtual void yyerror(char *,...); |
|
30 #if defined(__TOOLS2_WINDOWS__) |
|
31 void yyerror(char* aCharPtr, __VALIST aList); |
|
32 #else |
|
33 void yyerror(char* aCharPtr, va_list aList); |
|
34 #endif |
|
35 int ErrorWasFound() const; |
|
36 rcscan& operator=(const rcscan&); |
|
37 private: |
|
38 int iErrorFound; |
|
39 const FileLineManager& iFileLineHandler; |
|
40 }; |
|
41 |
|
42 #endif //__RCSCAN_H__ |