|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T p
Length: 1244 (0x4dc)
Types: TextFile
Names: »parse_error.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
└─⟦eba4602b1⟧ »./isode-5.0.tar.Z«
└─⟦d3ac74d73⟧
└─⟦this⟧ »isode-5.0/dsap/common/parse_error.c«
/* parse_error.c - */
#ifndef lint
static char *rcsid = "$Header: /f/osi/dsap/common/RCS/parse_error.c,v 6.0 89/03/18 23:27:43 mrose Rel $";
#endif
/*
* $Header: /f/osi/dsap/common/RCS/parse_error.c,v 6.0 89/03/18 23:27:43 mrose Rel $
*
*
* $Log: parse_error.c,v $
* Revision 6.0 89/03/18 23:27:43 mrose
* Release 5.0
*
*/
/*
* NOTICE
*
* Acquisition, use, and distribution of this module and related
* materials are subject to the restrictions of a license agreement.
* Consult the Preface in the User's Manual for the full terms of
* this agreement.
*
*/
/* LINTLIBRARY */
#include "quipu/util.h"
#include "psap.h"
int print_parse_errors = TRUE;
int parse_status = 0;
PS opt = NULLPS;
int parse_line = 1;
extern LLog * log_dsap;
parse_error (a,b)
char *a, *b;
{
parse_status++;
if (print_parse_errors) {
if (opt == NULLPS) {
opt = ps_alloc (std_open);
if (std_setup (opt,stderr) != OK) {
LLOG (log_dsap,LLOG_EXCEPTIONS,("cant open error (parse)..."));
LLOG (log_dsap,LLOG_EXCEPTIONS,(a,b));
return;
}
}
if (parse_line != 0)
ps_printf (opt,"line %d: ",parse_line);
ps_printf (opt,a,b);
ps_printf (opt,"\n");
} else
LLOG (log_dsap,LLOG_EXCEPTIONS,(a,b));
}