diff options
author | Patrick Simianer <p@simianer.de> | 2014-05-23 20:06:34 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-05-23 20:06:34 +0200 |
commit | d76b8947471087992ac945bdb5eb5620869672d1 (patch) | |
tree | 060dbb8976fd9dddee5cb69c9108b2a6c252d384 /grammar.rb | |
parent | ea5a910c2e1cb8e22a6d21bc2566428469a6f53b (diff) |
before new visit
Diffstat (limited to 'grammar.rb')
-rw-r--r-- | grammar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |