Skip to content

Commit

Permalink
reformat, remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed May 15, 2016
1 parent d2d91c9 commit 0fea174
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions util/inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ void inspect_expression(const std::string & str) {
op_grammar<str_it> grammar;

if (qi::phrase_parse(it, end, grammar, qi::space, e) && it == end) {
{
stack_machine m(e);
m.debug_print_instructions();
std::cerr << "\n";
}
stack_machine m(e);
m.debug_print_instructions();
std::cerr << "\n";
} else {
std::cerr << ("Plural-Forms expression reader: Could not parse expression, stopped parsing at:\n" + string_iterator_context(str, it));
}
Expand All @@ -37,6 +35,5 @@ int main (int argc, char *argv[]) {
std::cerr << " where expr is a plural forms expression\n";
} else {
spirit_po::inspect_expression(argv[1]);
std::string str{argv[1]};
}
}

0 comments on commit 0fea174

Please sign in to comment.