5 |
|
* Project led by Terence Parr at http://www.jGuru.com |
6 |
|
* Software rights: http://www.antlr.org/license.html |
7 |
|
* |
8 |
< |
* $Id: config.hpp,v 1.1 2005-12-02 15:38:02 tim Exp $ |
8 |
> |
* $Id$ |
9 |
|
*/ |
10 |
|
|
11 |
|
/* |
85 |
|
# define NEEDS_OPERATOR_LESS_THAN |
86 |
|
// No strcasecmp in the C library (so use stricmp instead) |
87 |
|
// - Anyone know which is in which standard? |
88 |
– |
# define NO_STRCASECMP |
88 |
|
# undef ANTLR_CCTYPE_NEEDS_STD |
89 |
|
|
90 |
|
// needed for CharScannerLiteralsLess |
161 |
|
*****************************************************************************/ |
162 |
|
#ifdef __BCPLUSPLUS__ |
163 |
|
# define NO_TEMPLATE_PARTS |
165 |
– |
# define NO_STRCASECMP |
164 |
|
# undef ANTLR_CCTYPE_NEEDS_STD |
165 |
|
#endif // End of C++ Builder 3.0 |
166 |
|
/*}}}*/ |
171 |
|
|
172 |
|
// No strcasecmp in the C library (so use stricmp instead) |
173 |
|
// - Anyone know which is in which standard? |
176 |
– |
# define NO_STRCASECMP |
174 |
|
# undef ANTLR_CCTYPE_NEEDS_STD |
175 |
|
|
176 |
|
#endif // end IBM VisualAge C++ |
184 |
|
# endif |
185 |
|
|
186 |
|
// CW 6.0 and 7.0 still do not have it. |
190 |
– |
# define ANTLR_REALLY_NO_STRCASECMP |
187 |
|
|
188 |
|
# undef ANTLR_C_USING |
189 |
|
# define ANTLR_C_USING(_x_) using std:: ## _x_; |
226 |
|
# undef ANTLR_IOS_BASE |
227 |
|
# define ANTLR_IOS_BASE ios |
228 |
|
# undef ANTLR_CCTYPE_NEEDS_STD |
233 |
– |
// compiling with -ansi ? |
234 |
– |
# ifdef __STRICT_ANSI__ |
235 |
– |
# undef ANTLR_REALLY_NO_STRCASECMP |
236 |
– |
# define ANTLR_REALLY_NO_STRCASECMP |
237 |
– |
# endif |
229 |
|
# else |
230 |
|
// experimental .96 .97 branches.. |
231 |
|
# undef ANTLR_CCTYPE_NEEDS_STD |