[parrot/parrot] 017242: Add throw_illegal_escape_char, add arg to throw_il...

GitHub noreply at github.com
Fri Oct 10 12:19:06 UTC 2014


  Branch: refs/heads/rurban/lexqnames-gh1095-dev
  Home:   https://github.com/parrot/parrot
  Commit: 0172423b09c7968582c875a8738fe3a25de06508
      https://github.com/parrot/parrot/commit/0172423b09c7968582c875a8738fe3a25de06508
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-10 (Fri, 10 Oct 2014)

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

  Log Message:
  -----------
  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 \? \

Note that the C standard requires such "invalid" escape sequences
to be diagnosed i.e., the compiler must print an error message.


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

  Changed paths:
    M compilers/imcc/debug.h
    M compilers/imcc/imcc.y
    M compilers/imcc/pbc.c
    M compilers/imcc/symreg.c
    M include/parrot/interpreter.h

  Log Message:
  -----------
  [imcc] fix U type in sub fixup

Honor mk_const Slp, do not change S to U when called a 2nd time as S
with already stripped quotes.

Change -t8 private trace flag to -d2 proper imcc flag for mk_const tracking
Add more debugging verboseness.


Compare: https://github.com/parrot/parrot/compare/16c21b0f8a9b...4ddcd1890e26


More information about the parrot-commits mailing list