Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
messages.c File Reference
#include <stdarg.h>
#include <stdlib.h>
#include "defines.h"
#include <nl_types.h>
#include <nlcatmsg.h>
#include "host.m"
#include "host.h"
#include "target.m"
#include "target.h"
#include "globals.m"
#include "tokens.m"
#include "sytb.m"
#include "debug.m"
#include "messages.m"
#include "globals.h"
#include "tokens.h"
#include "sytb.h"
#include "messages.h"
#include "cif.h"
Include dependency graph for messages.c:

Go to the source code of this file.

Defines

#define __NLS_INTERNALS   1
#define CIF_VERSION   3 /* Must be defined before */
#define END_UNIT   18 /* End Unit */
#define FILE_STK_MAX   500 /* Just make something up. */
#define MAX_SRC_LINE_SIZE   256 /* Stolen from src_input.m */

Functions

static int compare_message_recs (const void *, const void *)
static void flush_msg_file (void)
void init_msg_processing (char *argv[])
void PRINTMSG (int glb_line_num, int msg_num, msg_severities_type msg_severity, int column_num,...)
void output_msg (int glb_line_num, int msg_num, msg_severities_type msg_severity, int column_num, long arg1, long arg2, long arg3, long arg4)
void exit_compiler (int code)
char * global_to_local_file (int search_line)
char * global_to_local_path (int search_line)
int global_to_file_id (int search_line)
int global_to_file_line_number (int search_line)
int global_to_local_line_number (int search_line)
void print_buffered_messages (void)
void fold_f_abort_ (int *oper)
void fold_f_abort__ (int *oper)

Variables

static char USMID [] = "\n@(#)5.0_pl/sources/messages.c 5.9 10/14/99 14:08:59\n"

Define Documentation

#define __NLS_INTERNALS   1

Definition at line 45 of file messages.c.

#define CIF_VERSION   3 /* Must be defined before */

Definition at line 74 of file messages.c.

Referenced by print_buffered_messages().

#define END_UNIT   18 /* End Unit */

Referenced by flush_msg_file().

#define FILE_STK_MAX   500 /* Just make something up. */

Referenced by print_buffered_messages().

#define MAX_SRC_LINE_SIZE   256 /* Stolen from src_input.m */

Function Documentation

static int compare_message_recs ( const void *  p1,
const void *  p2 
) [static]

Definition at line 2207 of file messages.c.

References Func_Entry, Func_Exit, NULL, result, and TRACE.

Referenced by print_buffered_messages().

static void flush_msg_file ( void  ) [static]
void fold_f_abort_ ( int *  oper)

Definition at line 2271 of file messages.c.

References Func_Entry, Func_Exit, Internal, NULL, PRINTMSG(), stmt_start_line, and TRACE.

Referenced by fold_f_abort__().

Here is the call graph for this function:

void fold_f_abort__ ( int *  oper)

Definition at line 2288 of file messages.c.

References fold_f_abort_().

Here is the call graph for this function:

int global_to_file_id ( int  search_line)

Definition at line 1351 of file messages.c.

References Func_Entry, Func_Exit, GL_CIF_FILE_ID, GLOBAL_LINE_TO_FILE_LINE, idx, NULL, and TRACE.

int global_to_file_line_number ( int  search_line)

Definition at line 1389 of file messages.c.

References Func_Entry, Func_Exit, GLOBAL_LINE_TO_FILE_LINE, idx, NULL, and TRACE.

char* global_to_local_path ( int  search_line)

Definition at line 1310 of file messages.c.

References Func_Entry, Func_Exit, GL_PATH_NAME_PTR, GLOBAL_LINE_TO_FILE_LINE, idx, NULL, and TRACE.

void init_msg_processing ( char *  argv[])

Definition at line 107 of file messages.c.

References catopen, command_name, exit_compiler(), fprintf(), free(), Func_Entry, Func_Exit, getenv(), len, MEM_ALLOC, msg_sys, NULL, RC_USER_ERROR, save_column_num, save_glb_line_num, SLASH, strcpy, and TRACE.

Referenced by init_compiler().

Here is the call graph for this function:

void PRINTMSG ( int  glb_line_num,
int  msg_num,
msg_severities_type  msg_severity,
int  column_num,
  ... 
)

Variable Documentation

char USMID[] = "\n@(#)5.0_pl/sources/messages.c 5.9 10/14/99 14:08:59\n" [static]

Definition at line 37 of file messages.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines