2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-05 00:35:13 +00:00

Finish renaming regexp to regex

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen
2011-03-13 06:01:21 -07:00
parent 6ed55cb1d5
commit 1a2484e5bc

View File

@@ -586,17 +586,17 @@ void flip_tree(Node *node)
}
}
void dump_regexp_rec(ostream &os, Node *tree)
void dump_regex_rec(ostream &os, Node *tree)
{
if (tree->child[0])
dump_regexp_rec(os, tree->child[0]);
dump_regex_rec(os, tree->child[0]);
os << *tree;
if (tree->child[1])
dump_regexp_rec(os, tree->child[1]);
dump_regex_rec(os, tree->child[1]);
}
void dump_regexp(ostream &os, Node *tree)
void dump_regex(ostream &os, Node *tree)
{
dump_regexp_rec(os, tree);
dump_regex_rec(os, tree);
os << endl;
}