Go to the source code of this file.
◆ YY_FATAL_ERROR
#define YY_FATAL_ERROR |
( |
| msg | ) |
|
Value:{ \
msg1 += "\n lexical analyzer: "; \
if (!static_cast<yyguts_t*>(yyscanner)->yyextra_r->fileName.isEmpty()) \
{ \
msg1 += " (for: "; \
msg1 += static_cast<yyguts_t*>(yyscanner)->yyextra_r->fileName; \
msg1 += ")"; \
} \
msg1 += "\n"; \
yy_fatal_error(
qPrint(msg1) , yyscanner); \
}
This is an alternative implementation of QCString.
static const char * getLexerFILE()
void msg(const char *fmt,...)
const char * qPrint(const char *s)
Definition at line 21 of file doxygen_lex.h.
21#define YY_FATAL_ERROR(msg) \
22{ \
23 QCString msg1 = msg; \
24 msg1 += "\n lexical analyzer: "; \
25 msg1 += getLexerFILE(); \
26 if (!static_cast<yyguts_t*>(yyscanner)->yyextra_r->fileName.isEmpty()) \
27 { \
28 msg1 += " (for: "; \
29 msg1 += static_cast<yyguts_t*>(yyscanner)->yyextra_r->fileName; \
30 msg1 += ")"; \
31 } \
32 msg1 += "\n"; \
33 yy_fatal_error( qPrint(msg1) , yyscanner); \
34}