Bug 19261 – Cmdline option to enumerate builtin versions

Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-09-23T20:05:32Z
Last change time
2018-09-24T18:06:06Z
Assigned to
No Owner
Creator
Manu

Comments

Comment #0 by turkeyman — 2018-09-23T20:05:32Z
Tooling needs to perform syntax highlighting. This requires knowledge of the builtin versions specified by the compiler build. Please add a cmdline option to DMD to emit a list of all builtin versions which can be plumbed into editor tooling.
Comment #1 by r.sagitario — 2018-09-24T17:58:21Z
Option -v already does that. You can avoid having to provide a source file by dmd -o- -v x.obj