fixed eof
This commit is contained in:
parent
82170f06ae
commit
5505945f8e
3 changed files with 13 additions and 5 deletions
|
@ -61,8 +61,6 @@ namespace {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.putback(c);
|
|
||||||
|
|
||||||
final = stream.tellg();
|
final = stream.tellg();
|
||||||
stream.seekg(initial);
|
stream.seekg(initial);
|
||||||
|
|
||||||
|
@ -150,8 +148,10 @@ namespace NVL
|
||||||
|
|
||||||
current_context.Scope_Hierarchy.push_back(std::make_shared<Tree>(root));
|
current_context.Scope_Hierarchy.push_back(std::make_shared<Tree>(root));
|
||||||
|
|
||||||
//while (!nvl.eof())
|
while (!nvl.eof()) {
|
||||||
parse_Sequence(current_context, nvl);
|
parse_Sequence(current_context, nvl);
|
||||||
|
nvl >> std::ws;
|
||||||
|
}
|
||||||
|
|
||||||
nvl.close();
|
nvl.close();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -4,3 +4,11 @@ dsahd {
|
||||||
asdasdfdoy893eryh
|
asdasdfdoy893eryh
|
||||||
:awesome:
|
:awesome:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
twrgfgdfg {
|
||||||
|
fsgsfg
|
||||||
|
}
|
||||||
|
|
||||||
|
tsr4t4t {
|
||||||
|
dasjkhdakjs
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue