From d76b8947471087992ac945bdb5eb5620869672d1 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 23 May 2014 20:06:34 +0200 Subject: before new visit --- grammar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grammar.rb') diff --git a/grammar.rb b/grammar.rb index b7d2408..52d0fba 100644 --- a/grammar.rb +++ b/grammar.rb @@ -70,7 +70,7 @@ class Grammar def initialize fn @rules = []; @startn = []; @startt = [] ;@flat = [] ReadFile.readlines_strip(fn).each_with_index { |s,i| - STDERR.write '.'; STDERR.write "\n" if (i+1)%80==0 + STDERR.write '.'; STDERR.write " #{i+1}\n" if (i+1)%80==0 @rules << Rule.from_s(s) if @rules.last.rhs.first.class == NT @startn << @rules.last -- cgit v1.2.3