diff options
| author | Patrick Schönberger | 2021-08-04 15:05:42 +0200 |
|---|---|---|
| committer | Patrick Schönberger | 2021-08-04 15:05:42 +0200 |
| commit | 7f83e1b208e87e3808b268303bb633a8fda203f5 (patch) | |
| tree | 8ab149b206144fc1bf99872b281cb7d965edf5e1 /src/toc.h | |
| parent | be56e29997e17685eebf8bd7cb745183c60de7db (diff) | |
| download | toc-7f83e1b208e87e3808b268303bb633a8fda203f5.tar.gz toc-7f83e1b208e87e3808b268303bb633a8fda203f5.zip | |
pre change
Diffstat (limited to 'src/toc.h')
| -rw-r--r-- | src/toc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -96,7 +96,7 @@ std::ostream & operator<< (std::ostream & out, const Body & b) out << "{\n";
indentation += 2;
- for (auto v : b.variables)
+ for (auto v : b.ctx->variables)
{
indent(out);
out << v << ";\n";
@@ -279,7 +279,7 @@ void tocProgram (std::ostream & out, const Program & p) tocFunction(out, f, true);
}
- for (auto v : p.variables)
+ for (auto v : p.ctx->variables)
{
out << v << ";\n";
}
@@ -303,7 +303,7 @@ void tocNamespace (std::ostream & out, const Namespace & n, bool stub) namespaces.push_back(n.name);
if (!stub)
{
- for (auto v : n.variables)
+ for (auto v : n.ctx->variables)
{
out << v << ";\n";
}
|
