00001 #ifndef __ENUMERATE_H__ 00002 #define __ENUMERATE_H__ 00003 00004 /* 00005 Copyright (c) 2006-2009 Trevor Williams 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by the Free Software 00009 Foundation; either version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00012 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 See the GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License along with this program; 00016 if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00026 #include "defines.h" 00027 00028 00030 void enumerate_add_item( vsignal* enum_sig, static_expr* value, func_unit* funit ); 00031 00033 void enumerate_end_list( func_unit* funit ); 00034 00036 void enumerate_resolve( funit_inst* inst ); 00037 00039 void enumerate_dealloc( enum_item* ei ); 00040 00042 void enumerate_dealloc_list( func_unit* funit ); 00043 00044 00045 /* 00046 $Log: enumerate.h,v $ 00047 Revision 1.4.16.1 2009/04/23 16:49:04 phase1geo 00048 Fixed a few more user documentation issues and updated the copyright dates in 00049 all source code files. 00050 00051 Revision 1.4 2007/11/20 05:28:58 phase1geo 00052 Updating e-mail address from trevorw@charter.net to phase1geo@gmail.com. 00053 00054 Revision 1.3 2007/09/14 06:22:12 phase1geo 00055 Filling in existing functions in struct_union. Completed parser code for handling 00056 struct/union declarations. Code compiles thus far. 00057 00058 Revision 1.2 2006/10/06 22:45:57 phase1geo 00059 Added support for the wait() statement. Added wait1 diagnostic to regression 00060 suite to verify its behavior. Also added missing GPL license note at the top 00061 of several *.h and *.c files that are somewhat new. 00062 00063 Revision 1.1 2006/08/29 22:49:31 phase1geo 00064 Added enumeration support and partial support for typedefs. Added enum1 00065 diagnostic to verify initial enumeration support. Full regression has not 00066 been run at this point -- checkpointing. 00067 00068 */ 00069 00070 #endif 00071
1.3.4