equal
deleted
inserted
replaced
1 /****************************************************************************** |
1 /****************************************************************************** |
2 * |
2 * |
3 * |
3 * |
4 * |
4 * |
5 * Copyright (C) 1997-2008 by Dimitri van Heesch. |
5 * Copyright (C) 1997-2010 by Dimitri van Heesch. |
6 * |
6 * |
7 * Permission to use, copy, modify, and distribute this software and its |
7 * Permission to use, copy, modify, and distribute this software and its |
8 * documentation under the terms of the GNU General Public License is hereby |
8 * documentation under the terms of the GNU General Public License is hereby |
9 * granted. No representations are made about the suitability of this software |
9 * granted. No representations are made about the suitability of this software |
10 * for any purpose. It is provided "as is" without express or implied warranty. |
10 * for any purpose. It is provided "as is" without express or implied warranty. |
18 #include "define.h" |
18 #include "define.h" |
19 #include "config.h" |
19 #include "config.h" |
20 |
20 |
21 Define::Define() |
21 Define::Define() |
22 { |
22 { |
|
23 fileDef=0; |
|
24 lineNr=1; |
|
25 nargs=-1; |
23 undef=FALSE; |
26 undef=FALSE; |
24 fileDef=0; |
27 varArgs=FALSE; |
25 isPredefined=FALSE; |
28 isPredefined=FALSE; |
26 nonRecursive=FALSE; |
29 nonRecursive=FALSE; |
27 } |
30 } |
28 |
31 |
29 Define::Define(const Define &d) |
32 Define::Define(const Define &d) |
31 { |
34 { |
32 //name=d.name; definition=d.definition; fileName=d.fileName; |
35 //name=d.name; definition=d.definition; fileName=d.fileName; |
33 lineNr=d.lineNr; |
36 lineNr=d.lineNr; |
34 nargs=d.nargs; |
37 nargs=d.nargs; |
35 undef=d.undef; |
38 undef=d.undef; |
|
39 varArgs=d.varArgs; |
|
40 isPredefined=d.isPredefined; |
|
41 nonRecursive=d.nonRecursive; |
36 fileDef=0; |
42 fileDef=0; |
37 } |
43 } |
38 |
44 |
39 Define::~Define() |
45 Define::~Define() |
40 { |
46 { |