[parrot/parrot] a91891: [test] syn/clash.t before GH #1103

GitHub noreply at github.com
Thu Oct 16 13:43:03 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: a91891670f25c1eb64a2016353d094c0422969a7
      https://github.com/parrot/parrot/commit/a91891670f25c1eb64a2016353d094c0422969a7
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M t/compilers/imcc/syn/clash.t

  Log Message:
  -----------
  [test] syn/clash.t before GH #1103

Tests to show problems with illegal escape sequence rules
foo\o => fooo


  Commit: b51fb81301c0511eaf0a9b35d87f70d140b68aaf
      https://github.com/parrot/parrot/commit/b51fb81301c0511eaf0a9b35d87f70d140b68aaf
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M src/string/api.c

  Log Message:
  -----------
  [core] change Illegal escape sequence policy

Previously: Silently ignore illegal escapes even for a-zA-Z
     and change the string from "foo\o" to "fooo"
Now: Throw "Illegal escape sequence \o in foo\o"
See GH #1103


  Commit: ad4fa11595b800d040f0553d4535b849a15840c0
      https://github.com/parrot/parrot/commit/ad4fa11595b800d040f0553d4535b849a15840c0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M src/string/api.c
    M t/compilers/imcc/syn/const.t
    M t/op/basic.t

  Log Message:
  -----------
  [core] Add throw_illegal_escape_char, add arg to throw_illegal_escape

Harmonize "Illegal escape sequence \\%c in %Ss" and
"Illegal escape sequence %Ss" error messages.
Also allow \? \'
See GH #1103


  Commit: 6f1f6728ca4001eca3e1d474eebc5ed7e9cbb26f
      https://github.com/parrot/parrot/commit/6f1f6728ca4001eca3e1d474eebc5ed7e9cbb26f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M ChangeLog
    M t/compilers/imcc/syn/clash.t

  Log Message:
  -----------
  [test] syn/clash.t after the GH #1103 fix

die now with "Illegal escape sequence \o in 'foo\o'"
Update ChangeLog


  Commit: 3936b500abdea3691855c9391720d005471b6eb7
      https://github.com/parrot/parrot/commit/3936b500abdea3691855c9391720d005471b6eb7
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-16 (Thu, 16 Oct 2014)

  Changed paths:
    M src/dynpmc/file.pmc

  Log Message:
  -----------
  [pmc] file: UNUSED SELF [cage]


  Commit: 99b936fa5dd076e392cd4366b358958744166149
      https://github.com/parrot/parrot/commit/99b936fa5dd076e392cd4366b358958744166149
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-16 (Thu, 16 Oct 2014)

  Changed paths:
    M ChangeLog
    M src/string/api.c
    M t/compilers/imcc/syn/clash.t
    M t/compilers/imcc/syn/const.t
    M t/op/basic.t

  Log Message:
  -----------
  Merge branch 'smoke-me/illegal-escape-gh1103'


Compare: https://github.com/parrot/parrot/compare/786869f9f9de...99b936fa5dd0


More information about the parrot-commits mailing list