summaryrefslogtreecommitdiff
path: root/grammar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'grammar.rb')
-rw-r--r--grammar.rb2
1 files changed, 1 insertions, 1 deletions
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