From fa4066be2adc3237fce8a423ae30e641a77af8c8 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 3 Dec 2006 04:53:48 +0000 Subject: [PATCH] deprecated -> warnings instead of errors --- Parser/Gmsh.tab.cpp | 8 ++++---- Parser/Gmsh.y | 8 ++++---- Parser/Gmsh.yy.cpp | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp index e260876261..431bb5fc97 100644 --- a/Parser/Gmsh.tab.cpp +++ b/Parser/Gmsh.tab.cpp @@ -126,7 +126,7 @@ #line 1 "Gmsh.y" -// $Id: Gmsh.tab.cpp,v 1.291 2006-12-02 22:05:15 geuzaine Exp $ +// $Id: Gmsh.tab.cpp,v 1.292 2006-12-03 04:53:47 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -3759,7 +3759,7 @@ case 83: case 84: #line 1058 "Gmsh.y" { - yymsg(GERROR, "Attractors are deprecated"); + yymsg(WARNING, "Attractors are deprecated"); List_Delete(yyvsp[-9].l); yyval.s.Type = 0; yyval.s.Num = 0; @@ -4045,7 +4045,7 @@ case 96: case 97: #line 1322 "Gmsh.y" { - yymsg(GERROR, "Attractors are deprecated"); + yymsg(WARNING, "Attractors are deprecated"); List_Delete(yyvsp[-9].l); yyval.s.Type = 0; yyval.s.Num = 0; @@ -5383,7 +5383,7 @@ case 200: case 201: #line 2524 "Gmsh.y" { - yymsg(GERROR, "Elliptic Surface is deprecated: use smoothed Transfinite instead"); + yymsg(WARNING, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)"); List_Delete(yyvsp[-1].l); ; break;} diff --git a/Parser/Gmsh.y b/Parser/Gmsh.y index 3d45735494..1f0736296b 100644 --- a/Parser/Gmsh.y +++ b/Parser/Gmsh.y @@ -1,5 +1,5 @@ %{ -// $Id: Gmsh.y,v 1.249 2006-12-02 22:05:16 geuzaine Exp $ +// $Id: Gmsh.y,v 1.250 2006-12-03 04:53:48 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -1056,7 +1056,7 @@ Shape : } | tAttractor tPoint ListOfDouble tAFFECT '{' FExpr ',' FExpr ',' FExpr '}' tEND { - yymsg(GERROR, "Attractors are deprecated"); + yymsg(WARNING, "Attractors are deprecated"); List_Delete($3); $$.Type = 0; $$.Num = 0; @@ -1320,7 +1320,7 @@ Shape : } | tAttractor tLine ListOfDouble tAFFECT '{' FExpr ',' FExpr ',' FExpr '}' tEND { - yymsg(GERROR, "Attractors are deprecated"); + yymsg(WARNING, "Attractors are deprecated"); List_Delete($3); $$.Type = 0; $$.Num = 0; @@ -2522,7 +2522,7 @@ Transfinite : } | tElliptic tSurface '{' FExpr '}' tAFFECT ListOfDouble tEND { - yymsg(GERROR, "Elliptic Surface is deprecated: use smoothed Transfinite instead"); + yymsg(WARNING, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)"); List_Delete($7); } | tTransfinite tVolume '{' FExpr '}' tAFFECT ListOfDouble tEND diff --git a/Parser/Gmsh.yy.cpp b/Parser/Gmsh.yy.cpp index 92fff6ae42..7725c07471 100644 --- a/Parser/Gmsh.yy.cpp +++ b/Parser/Gmsh.yy.cpp @@ -2,7 +2,7 @@ /* A lexical scanner generated by flex */ /* Scanner skeleton version: - * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.290 2006-12-02 22:05:16 geuzaine Exp $ + * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.291 2006-12-03 04:53:48 geuzaine Exp $ */ #define FLEX_SCANNER @@ -727,7 +727,7 @@ char *yytext; #line 1 "Gmsh.l" #define INITIAL 0 #line 2 "Gmsh.l" -// $Id: Gmsh.yy.cpp,v 1.290 2006-12-02 22:05:16 geuzaine Exp $ +// $Id: Gmsh.yy.cpp,v 1.291 2006-12-03 04:53:48 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // -- GitLab