mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 21:51:40 +03:00
36 lines
700 B
D
36 lines
700 B
D
|
|
/* Written by Walter Bright
|
|
* www.digitalmars.com
|
|
* Placed into Public Domain
|
|
*/
|
|
|
|
// Identify the compiler used and its various features.
|
|
|
|
module std.compiler;
|
|
|
|
const
|
|
{
|
|
// Vendor specific string naming the compiler
|
|
char[] name = "Digital Mars D";
|
|
|
|
// Master list of D compiler vendors
|
|
enum Vendor
|
|
{
|
|
DigitalMars = 1
|
|
}
|
|
|
|
// Which vendor we are
|
|
Vendor vendor = Vendor.DigitalMars;
|
|
|
|
|
|
// The vendor specific version number, as in
|
|
// version_major.version_minor
|
|
uint version_major = 0;
|
|
uint version_minor = 0;
|
|
|
|
|
|
// The version of the D Programming Language Specification
|
|
// Supported by the compiler
|
|
uint D_major = 0;
|
|
uint D_minor = 0;
|
|
}
|