comparison druntime/src/compiler/dmd/compiler.d @ 759:d3eb054172f9

Added copy of druntime from DMD 2.020 modified for LDC.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 11 Nov 2008 01:52:37 +0100
parents
children
comparison
equal deleted inserted replaced
758:f04dde6e882c 759:d3eb054172f9
1
2 /* Written by Walter Bright
3 * www.digitalmars.com
4 * Placed into Public Domain
5 */
6
7 module rt.compiler;
8
9 // Identify the compiler used and its various features.
10
11 const
12 {
13 // Vendor specific string naming the compiler
14 char[] name = "Digital Mars D";
15
16 // Master list of D compiler vendors
17 enum Vendor
18 {
19 DigitalMars = 1
20 }
21
22 // Which vendor we are
23 Vendor vendor = Vendor.DigitalMars;
24
25
26 // The vendor specific version number, as in
27 // version_major.version_minor
28 uint version_major = 0;
29 uint version_minor = 0;
30
31
32 // The version of the D Programming Language Specification
33 // Supported by the compiler
34 uint D_major = 0;
35 uint D_minor = 0;
36 }