class Rexical::Generator

def next_line

def next_line
  @lineno += 1
  @grammar_lines.scan_until(/\n/).chomp
rescue
  nil
end