summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2009-02-15 23:07:32 +0000
committerAdrian Thurston <thurston@complang.org>2009-02-15 23:07:32 +0000
commit4daa230e86bcf1a126f9a469257302fb0f36bfba (patch)
tree6f27f1ffbf601b2fdeed769449c7e5b6c9f7c583
parent7d7be6ccc3a13c5bfb6d145d947508af096994c7 (diff)
downloadcolm-4daa230e86bcf1a126f9a469257302fb0f36bfba.tar.gz
label the states
-rw-r--r--colm/dotgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/colm/dotgen.cpp b/colm/dotgen.cpp
index 30788a4c..eb69ba16 100644
--- a/colm/dotgen.cpp
+++ b/colm/dotgen.cpp
@@ -86,11 +86,11 @@ void ParseData::writeDotFile( PdaGraph *graph )
out <<
"\n"
- " node [ shape = circle, fixedsize = true, height = 0.2 ];\n";
+ " node [ shape = circle, fixedsize = true, height = 0.6 ];\n";
/* Walk the states. */
for ( PdaStateList::Iter st = graph->stateList; st.lte(); st++ )
- out << " " << st->stateNum << " [ label = \"\" ];\n";
+ out << " " << st->stateNum << " [ label = \"" << st->stateNum << "\" ];\n";
out << "\n";