# File lib/ruby_lexer.rb, line 379 def rb_compile_error msg msg += ". near line #{self.lineno}: #{src.rest[/^.*/].inspect}" raise SyntaxError, msg end