Fix multiple delete of an expression.

This commit is contained in:
steve 2005-02-19 16:38:14 +00:00
parent 4af0acb3be
commit 29ebe486b7
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: parse.y,v 1.201 2004/10/04 01:10:54 steve Exp $"
#ident "$Id: parse.y,v 1.201.2.1 2005/02/19 16:38:14 steve Exp $"
#endif
# include "config.h"
@ -990,7 +990,6 @@ expr_primary
yyerror(@2, "error: Repeat expression "
"must be constant.");
delete rep;
delete $2;
rep = 0;
}
PEConcat*tmp = new PEConcat(*$4, rep);