From 4fa00371e5cbfbaff427a25e38ccf9107b023f4e Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Fri, 18 Apr 2014 15:58:42 +0300 Subject: [PATCH] remove lines and columns --- lib/asm/nodes.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/asm/nodes.rb b/lib/asm/nodes.rb index 36013c0a..847c1ed4 100644 --- a/lib/asm/nodes.rb +++ b/lib/asm/nodes.rb @@ -2,17 +2,8 @@ module Asm class Node def initialize(s = nil) - if (s) - @line = s.prev_line - @column = s.prev_column - else - @line = 0 - @column = 0 - end - yield self if block_given? end - attr_reader :line, :column end class ToplevelNode < Node @@ -71,10 +62,6 @@ module Asm class ParseError < StandardError def initialize(message, s) super(message) - - @line = s.line - @column = s.column end - attr_reader :line, :column end end