[D-runtime] [dlang/druntime] 8238a9: fix --DRT-gcopt string argument parsing

GitHub via D-runtime d-runtime at puremagic.com
Wed Jul 13 22:50:28 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/druntime
  Commit: 8238a9cd7e8ea54007b958ee8bf9f7ca643e144d
      https://github.com/dlang/druntime/commit/8238a9cd7e8ea54007b958ee8bf9f7ca643e144d
  Author: Martin Nowak <code at dawg.eu>
  Date:   2016-07-09 (Sat, 09 Jul 2016)

  Changed paths:
    M src/gc/config.d
    M src/gc/proxy.d
    M test/exceptions/Makefile
    A test/exceptions/src/unknown_gc.d

  Log Message:
  -----------
  fix --DRT-gcopt string argument parsing

- would match more than just an identifier, e.g.
  'gc:conservative profile:1' was parsed as gc='conservative profile:1'
- was restricted to known GC names, instead we now check
  that one GC was initialized
- parse const(char)[] arguments as simple identifier [_a-zA-Z][_a-zA-Z0-9]*


  Commit: 0816ae37b633a37629f76a013299ec0375fc0b2e
      https://github.com/dlang/druntime/commit/0816ae37b633a37629f76a013299ec0375fc0b2e
  Author: Martin Nowak <code at dawg.eu>
  Date:   2016-07-14 (Thu, 14 Jul 2016)

  Changed paths:
    M src/gc/config.d

  Log Message:
  -----------
  parse identifier until next terminator


  Commit: eacf2ca609b9903e7953604b479c9f9c1db39bda
      https://github.com/dlang/druntime/commit/eacf2ca609b9903e7953604b479c9f9c1db39bda
  Author: Martin Nowak <code at dawg.eu>
  Date:   2016-07-14 (Thu, 14 Jul 2016)

  Changed paths:
    M src/gc/config.d

  Log Message:
  -----------
  parse options as string

- use inout(char)[] as parse input and as output for identifier parsing
- convert parse template overloads that only work w/ a single type to functions


  Commit: 5b0ed71001d0437b87f3ce00662cd744df0b0b5a
      https://github.com/dlang/druntime/commit/5b0ed71001d0437b87f3ce00662cd744df0b0b5a
  Author: Rainer Schuetze <r.sagitario at gmx.de>
  Date:   2016-07-14 (Thu, 14 Jul 2016)

  Changed paths:
    M src/gc/config.d
    M src/gc/proxy.d
    M test/exceptions/Makefile
    A test/exceptions/src/unknown_gc.d

  Log Message:
  -----------
  Merge pull request #1609 from MartinNowak/fix_gc_config

fix --DRT-gcopt string argument parsing


Compare: https://github.com/dlang/druntime/compare/f74ee559a0cc...5b0ed71001d0


More information about the D-runtime mailing list