fixed eof

This commit is contained in:
lachrymaL 2021-05-14 17:21:10 -04:00
parent 82170f06ae
commit 5505945f8e
No known key found for this signature in database
GPG key ID: F3640ACFA174B1C1
3 changed files with 13 additions and 5 deletions

View file

@ -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 {

View file

@ -4,3 +4,11 @@ dsahd {
asdasdfdoy893eryh asdasdfdoy893eryh
:awesome: :awesome:
} }
twrgfgdfg {
fsgsfg
}
tsr4t4t {
dasjkhdakjs
}