From a27e2c529ddb7dc1be0c6bcc44e3ab558126d15d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 24 Jul 2014 10:06:27 +0200 Subject: arg --- fast/test_grammar.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fast/test_grammar.cc') diff --git a/fast/test_grammar.cc b/fast/test_grammar.cc index 9c5b74e..34a55ba 100644 --- a/fast/test_grammar.cc +++ b/fast/test_grammar.cc @@ -9,7 +9,9 @@ int main(int argc, char** argv) { G::Grammar g(argv[1]); - cout << g << endl; + for (auto it = g.rules.begin(); it != g.rules.end(); it++) + cout << (**it).escaped() << endl; + return 0; } -- cgit v1.2.3