DEADSOFTWARE
GIT
/
REPO
/
FRED-BOY
Projects
/
odcread.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rename .ih files to module.ih for simplicity
[odcread.git]
/
reader
/
addPathComponent.cc
1
#include
"reader/module.ih"
2
3
namespace
odc
{
4
5
void
Reader
::
addPathComponent
(
bool
first
,
const
std
::
string
&
typeName
) {
6
int
next
=
d_typeList
.
size
();
7
int
curr
=
next
-
1
;
8
if
(!
first
) {
9
d_typeList
[
curr
]->
baseId
=
next
;
10
}
11
d_typeList
.
push_back
(
new
TypeEntry
(
typeName
));
12
}
13
14
}
// namespace odc