THRIFT-2338 First doctext wrongly interpreted as program doctext in some cases
Patch: Jens Geyer
diff --git a/compiler/cpp/src/main.h b/compiler/cpp/src/main.h
index d554970..87af5f6 100644
--- a/compiler/cpp/src/main.h
+++ b/compiler/cpp/src/main.h
@@ -21,6 +21,7 @@
#define T_MAIN_H
#include <string>
+#include "logging.h"
#include "parse/t_const.h"
#include "parse/t_field.h"
@@ -38,26 +39,6 @@
void yyerror(const char* fmt, ...);
/**
- * Parse debugging output, used to print helpful info
- */
-void pdebug(const char* fmt, ...);
-
-/**
- * Parser warning
- */
-void pwarning(int level, const char* fmt, ...);
-
-/**
- * Print verbose output message
- */
-void pverbose(const char* fmt, ...);
-
-/**
- * Failure!
- */
-void failure(const char* fmt, ...);
-
-/**
* Check simple identifier names
*/
void validate_simple_identifier(const char* identifier);