Skip to content

Commit dd08978

Browse files
h0nzZikDwight Guth
authored andcommitted
C++ parser: toplevel sort is KItem
1 parent 0d13a74 commit dd08978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools/ClangKast/ClangKast.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ void Kast::add(const T & node) {
330330
Kast::Nodes.push_back(make_unique<T>(node));
331331
}
332332

333-
void Kast::print() { print(Sort::K, 0); }
333+
void Kast::print() { print(Sort::KITEM, 0); }
334334

335335
int Kast::print(Sort parentSort, int idx) {
336336
if (!Nodes[idx]) throw logic_error("parse error");

0 commit comments

Comments
 (0)