Fix for assertion error when expanding macro.
[iverilog.git] / PEvent.cc
blobfac553fa94cda2b229d8a2a5c81de271dedccc0d
1 /*
2 * Copyright (c) 2004 Stephen Williams (steve@icarus.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 #ifdef HAVE_CVS_IDENT
20 #ident "$Id: PEvent.cc,v 1.5 2004/02/19 06:57:10 steve Exp $"
21 #endif
23 # include "config.h"
25 # include "PEvent.h"
27 PEvent::PEvent(perm_string n)
28 : name_(n)
32 PEvent::~PEvent()
36 perm_string PEvent::name() const
38 return name_;
42 * $Log: PEvent.cc,v $
43 * Revision 1.5 2004/02/19 06:57:10 steve
44 * Memory and Event names use perm_string.
46 * Revision 1.4 2003/03/01 06:25:30 steve
47 * Add the lex_strings string handler, and put
48 * scope names and system task/function names
49 * into this table. Also, permallocate event
50 * names from the beginning.
52 * Revision 1.3 2002/08/12 01:34:58 steve
53 * conditional ident string using autoconfig.
55 * Revision 1.2 2001/07/25 03:10:48 steve
56 * Create a config.h.in file to hold all the config
57 * junk, and support gcc 3.0. (Stephan Boettcher)
59 * Revision 1.1 2000/04/01 19:31:57 steve
60 * Named events as far as the pform.