*** empty log message ***

This commit is contained in:
Francois Donnet 2003-04-10 12:15:43 +00:00
parent aa8fb8229e
commit 5a6c402d1e
1 changed files with 6 additions and 3 deletions

View File

@ -259,19 +259,22 @@ char *str1;
{ {
VBL_ERRFLG++; VBL_ERRFLG++;
if (code < 100)
(void)fprintf (stderr,"Error %d line %ld in file %s :",code,VBL_LINNUM, VBL_FILENAME); (void)fprintf (stderr,"Error %d line %ld in file %s :",code,VBL_LINNUM, VBL_FILENAME);
else
{
#if 0 /* Francois Donnet 10/04/2003: I watch all calls to this function. #if 0 /* Francois Donnet 10/04/2003: I watch all calls to this function.
* all calls with argument code >= 100 come from parser vbl_bcomp_y.y * all calls with argument code >= 100 come from parser vbl_bcomp_y.y
* which defines VBL_LINNUM and VBL_FILENAME * which defines VBL_LINNUM and VBL_FILENAME
* Frustrating not to know the line of user error! * Frustrating not to know the line of user error!
*/ */
else
{
if (code < 200) if (code < 200)
(void)fprintf (stderr,"Error %d :",code); (void)fprintf (stderr,"Error %d :",code);
} #else
(void)fprintf (stderr,"Error %d line %ld in file %s :",code,VBL_LINNUM, VBL_FILENAME);
#endif #endif
}
switch (code) switch (code)
{ {