[parrot/parrot] 3aaa82: [pmc2c] fix del_namespace. require {} around WB re...

GitHub noreply at github.com
Mon Jun 2 15:34:43 UTC 2014


  Branch: refs/heads/rurban/pmc2c_orig2
  Home:   https://github.com/parrot/parrot
  Commit: 3aaa8250d6d5b86d0bca5c8deb3c053be446952b
      https://github.com/parrot/parrot/commit/3aaa8250d6d5b86d0bca5c8deb3c053be446952b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-06-02 (Mon, 02 Jun 2014)

  Changed paths:
    M lib/Parrot/Pmc2c/PCCMETHOD.pm

  Log Message:
  -----------
  [pmc2c] fix del_namespace. require {} around WB return

there exist many methods without proper {} blocks for RETURN().

grep -B1 "RETURN(" src/pmc/*.pmc|grep -A1 "if "|grep -v "{"
such as:
src/pmc/namespace.pmc-        if (PMC_IS_NULL(ns))
src/pmc/namespace.pmc:            RETURN(void);


  Commit: 30091680b710c8f74d517824c4c48df8e2f85c14
      https://github.com/parrot/parrot/commit/30091680b710c8f74d517824c4c48df8e2f85c14
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-06-02 (Mon, 02 Jun 2014)

  Changed paths:
    M src/pmc/default.pmc
    M src/pmc/hashiterator.pmc
    M src/pmc/imageiothaw.pmc
    M src/pmc/key.pmc
    M src/pmc/object.pmc
    M src/pmc/pmclist.pmc
    M src/pmc/resizablepmcarray.pmc

  Log Message:
  -----------
  [codingstd] fix trailing whitespace

and remove one too much WB in pmclist.shift_pmc


Compare: https://github.com/parrot/parrot/compare/17396b2a7bb9...30091680b710


More information about the parrot-commits mailing list