summaryrefslogtreecommitdiff
path: root/fast/test_grammar.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-07-24 10:06:27 +0200
committerPatrick Simianer <p@simianer.de>2014-07-24 10:06:27 +0200
commita27e2c529ddb7dc1be0c6bcc44e3ab558126d15d (patch)
tree5132a8149d115857b27a17fb40f359f50b325a89 /fast/test_grammar.cc
parent931401b65f5a06bdb1569c33044679694d35fe41 (diff)
arg
Diffstat (limited to 'fast/test_grammar.cc')
-rw-r--r--fast/test_grammar.cc4
1 files changed, 3 insertions, 1 deletions
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;
}