tags:

views:

33

answers:

0

If I have a ruby file "test.rb" that contains the following:

class Test
  #########################
  #some pointless comment
  #
  #########################

  def asdfasdf
  end
end

and I run cscope on it with (I have a mapping for this within vim):

find . -iname '*.rb' -o -iname '*.erb' -o -iname '*.rhtml' | cscope -q -i - -b

cscope claims that the symbol "asdfasdf" is on line 4 instead of the correct line 7. Anyone know how I can fix this? Without a comment like the one above, cscope behaves fine.