ctrump/parser/CFrontError.cpp File Reference

#include "CFrontError.hpp"
#include <cstdlib>
#include <cstring>
#include "config.h"

Include dependency graph for CFrontError.cpp:

Go to the source code of this file.


#define MAX_TOKEN_LEN   256
#define MAX_MESSAGE_LEN   1024


void ctrump_log (struct ctrump_loginfo *logInfo, int logLevel, enum ctrump_error_code ecode, const char *message, const char *formatStr, unsigned int numTokens, const char **tokens, const char *filename, int line, int column)
void ctrump_free_log (struct ctrump_loginfo *logInfo)
void ctrump_report_log (struct ctrump_loginfo *logInfo)
void ctrump_add_log (Logs *logs, int logLevel, enum ctrump_error_code code, const char *fmt, const cfront::Location &location,...)
char * ctrump_get_loginfo_message (struct ctrump_loginfo *error)

Define Documentation

#define MAX_MESSAGE_LEN   1024

Definition at line 56 of file CFrontError.cpp.

Referenced by ctrump_add_log(), and ctrump_get_loginfo_message().

#define MAX_TOKEN_LEN   256

Definition at line 55 of file CFrontError.cpp.

Referenced by ctrump_add_log().

Function Documentation

void ctrump_add_log ( Logs *  logs,
int  logLevel,
enum ctrump_error_code  code,
const char *  fmt,
const cfront::Location location,

void ctrump_free_log ( struct ctrump_loginfo logInfo  ) 

char* ctrump_get_loginfo_message ( struct ctrump_loginfo error  ) 

Definition at line 147 of file CFrontError.cpp.

References MAX_MESSAGE_LEN, and ctrump_loginfo::message.

Referenced by ctrump_report_log(), and error_get_message().

void ctrump_log ( struct ctrump_loginfo logInfo,
int  logLevel,
enum ctrump_error_code  ecode,
const char *  message,
const char *  formatStr,
unsigned int  numTokens,
const char **  tokens,
const char *  filename,
int  line,
int  column 

void ctrump_report_log ( struct ctrump_loginfo logInfo  ) 

Generated on Tue Mar 31 20:19:25 2009 for ctrump by  doxygen 1.5.6