src
msg.h
Go to the documentation of this file.
1 #ifndef _RE2C_CONF_MSG_
2 #define _RE2C_CONF_MSG_
3 
4 #include <string>
5 
6 #include "src/util/attribute.h"
7 #include "src/util/c99_stdint.h"
8 
9 namespace re2c {
10 
11 void error (const char * fmt, ...) RE2C_GXX_ATTRIBUTE ((format (printf, 1, 2)));
12 void error_encoding ();
13 void error_arg (const char * option);
14 void warning_start (uint32_t line, bool error);
15 void warning_end (const char * type, bool error);
16 void warning (const char * type, uint32_t line, bool error, const char * fmt, ...) RE2C_GXX_ATTRIBUTE ((format (printf, 4, 5)));
17 void usage ();
18 void vernum ();
19 void version ();
20 std::string incond (const std::string & cond);
21 
22 } // namespace re2c
23 
24 #endif // _RE2C_CONF_MSG_
void usage()
Definition: msg.cc:60
void error(const char *fmt,...)
Definition: msg.cc:10
void warning_start(uint32_t line, bool error)
Definition: msg.cc:32
void version()
Definition: msg.cc:237
void error_encoding()
Definition: msg.cc:22
void error_arg(const char *option)
Definition: msg.cc:27
#define RE2C_GXX_ATTRIBUTE(x)
Definition: attribute.h:7
void warning(const char *type, uint32_t line, bool error, const char *fmt,...)
Definition: msg.cc:48
void warning_end(const char *type, bool error)
Definition: msg.cc:38
void vernum()
Definition: msg.cc:215
Definition: bitmap.cc:10
std::string incond(const std::string &cond)
Definition: msg.cc:242