Skip to content

Commit

Permalink
Standardize formatting of warning messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Sep 29, 1999
1 parent 2271fc9 commit b2f7f53
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions parse_misc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: parse_misc.cc,v 1.2 1998/11/07 17:05:05 steve Exp $"
#ident "$Id: parse_misc.cc,v 1.3 1999/09/29 21:15:31 steve Exp $"
#endif

# include "parse_misc.h"
Expand Down Expand Up @@ -48,7 +48,7 @@ void yywarn(const YYLTYPE&loc, const char*msg)
if (loc.text)
cerr << loc.text << ":";

cerr << loc.first_line << ": warning -- " << msg << endl;
cerr << loc.first_line << ": warning: " << msg << endl;
}

int VLwrap()
Expand All @@ -58,6 +58,9 @@ int VLwrap()

/*
* $Log: parse_misc.cc,v $
* Revision 1.3 1999/09/29 21:15:31 steve
* Standardize formatting of warning messages.
*
* Revision 1.2 1998/11/07 17:05:05 steve
* Handle procedural conditional, and some
* of the conditional expressions.
Expand Down

0 comments on commit b2f7f53

Please sign in to comment.