//
// Copyright (C) 1991 Texas Instruments Incorporated.
//
// Permission is granted to any individual or institution to use, copy, modify,
// and distribute this software, provided that this complete copyright and
// permission notice is maintained, intact, in all copies and supporting
// documentation.
//
// Texas Instruments Incorporated provides this software "as is" without
// express or implied warranty.
//
// Created: LGO 05/22/89 -- Initial design and implementation
// Updated: MBN 09/16/89 -- Added conditional exception handling
//

#include <cool/Generic.h>
#include <cool/Properties.h>

// put -- Put a property on a symbol property list
// Input: Property name and value
// Output:None
     
void Symbol::put (const Symbol* property, Generic* value) {
  if (proplist == NULL)				// If no property list 
    proplist = new Properties(4);		// Add room for 4 properties
  proplist->put(property, value);		// Add property/value to symbol
}
