Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/* $XConsortium: Expression.C /main/3 1996/08/21 15:46:40 drk $ */
/* imported interfaces */
#include "Expression.h"
#include "ExprList.h"
OL_Expression::~OL_Expression()
{
/* This is a hack right now to eliminate the memory leak
*/
if ( data_type == CONCAT || data_type == FIRSTOF ) {
ExprList *vlist = ( ExprList * )value_list;
delete vlist;
}
else if ( data_type == LITERAL ) {
char *vlist = (char *)value_list;
delete vlist;
}
}