[parrot/parrot] 8e05e4: Refactor the guts of String.reverse_index into a n...

GitHub noreply at github.com
Tue May 8 23:29:26 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 8e05e4426809d2bf51f73f0e745854a5787178b4
      https://github.com/parrot/parrot/commit/8e05e4426809d2bf51f73f0e745854a5787178b4
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-05-08 (Tue, 08 May 2012)

  Changed paths:
    M include/parrot/string_funcs.h
    M src/pmc/string.pmc
    M src/string/api.c
    M t/pmc/string.t

  Log Message:
  -----------
  Refactor the guts of String.reverse_index into a new Parrot_str_find_reverse_index API routine. Make the 'start' param to the reverse_index method optional, and default to the string length for easy searching.


  Commit: 9136b04b6ce62cf637934580686823d4b903b7ba
      https://github.com/parrot/parrot/commit/9136b04b6ce62cf637934580686823d4b903b7ba
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-05-08 (Tue, 08 May 2012)

  Changed paths:
    M api.yaml
    M include/parrot/oplib/core_ops.h
    M include/parrot/oplib/ops.h
    M include/parrot/opsenum.h
    M runtime/parrot/library/distutils.pir
    M src/ops/core_ops.c
    M src/ops/string.ops

  Log Message:
  -----------
  Add in new experimental rindex_i_s_s and rindex_i_s_s_i opcodes, on request from moritz++. These are experimental. This, and my previous commit, resolve #767


Compare: https://github.com/parrot/parrot/compare/02b6f13...9136b04


More information about the parrot-commits mailing list