[dmd-internals] [D-Programming-Language/dmd] 87c626: fix StringExp length

GitHub noreply at github.com
Thu Apr 19 14:00:48 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 87c626a525bcdf92b09a2980ce10a380a0625946
      https://github.com/D-Programming-Language/dmd/commit/87c626a525bcdf92b09a2980ce10a380a0625946
  Author: dawg <dawg at dawgfoto.de>
  Date:   2012-04-19 (Thu, 19 Apr 2012)

  Changed paths:
    M src/expression.c

  Log Message:
  -----------
  fix StringExp length

- buf.size -> buf.offset

- extractData resets buf and depending on the
  evaluation order the length can become -1


  Commit: 959364e307df7d0b2bb3183d30cff8b90dfa916f
      https://github.com/D-Programming-Language/dmd/commit/959364e307df7d0b2bb3183d30cff8b90dfa916f
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-04-19 (Thu, 19 Apr 2012)

  Changed paths:
    M src/expression.c

  Log Message:
  -----------
  Merge pull request #891 from dawgfoto/fixArrayLiteralExpToString

fix StringExp of length -1


Compare: https://github.com/D-Programming-Language/dmd/compare/7a8d3ea...959364e


More information about the dmd-internals mailing list