aboutsummaryrefslogtreecommitdiff
path: root/driver/parser.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-08-19 19:46:33 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-08-19 19:46:33 +0900
commit6c2036e86fc37a5361d6daf64b914f1af66559ef (patch)
tree0b1a51a0ee8834918bbcd0f5fe189787fd649a1e /driver/parser.go
parentMake the functions that test the automaton common (diff)
downloadcotia-6c2036e86fc37a5361d6daf64b914f1af66559ef.tar.gz
cotia-6c2036e86fc37a5361d6daf64b914f1af66559ef.tar.xz
Fix indents of a tree
Diffstat (limited to 'driver/parser.go')
-rw-r--r--driver/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/parser.go b/driver/parser.go
index 1e46606..e8201c1 100644
--- a/driver/parser.go
+++ b/driver/parser.go
@@ -42,7 +42,7 @@ func printTree(w io.Writer, node *Node, ruledLine string, childRuledLinePrefix s
var prefix string
if i >= num-1 {
- prefix = " "
+ prefix = " "
} else {
prefix = "│ "
}