app/controllers/preprocessor/python/augmentation.rb
# Returns a version of the line with a line number comment added, if this line should in
# fact have the line number comment added. Otherwise, simply returns the line as is. This
# will also add a line number comment to a comment-only line, but that doesn't hurt.
Returns a version of the line with a line number comment added, if this line should in
fact have the line number comment added. Otherwise, simply returns the line as is. This
will also add a line number comment to a comment-only line, but that doesn't hurt.
Returns a version of the line with a line number comment added if this line should in fact have the line number comment added . Otherwise simply returns the line as is . This will also add a line number comment to a comment - only line but that doesn ' t hurt .
def possibly_add_line_number_comment(line)
    if @state[:ll_end]
      return line + " # WPLINE_#{@state[:line_number]}"
    else
      return line
    end
  end
def possibly_add_line_number_comment ( line ) if @state [ :ll_end ] return line + " # WPLINE_#{@state[:line_number]}" else return line end end
Returns a version of the line with a line number comment added, if this line should in
fact have the line number comment added.
Returns a version of the line with a line number comment added if this line should in fact have the line number comment added .
line