comparison druntime/src/compiler/ldc/compiler.d @ 1458:e0b2d67cfe7c

Added druntime (this should be removed once it works).
author Robert Clipsham <robert@octarineparrot.com>
date Tue, 02 Jun 2009 17:43:06 +0100
parents
children
comparison
equal deleted inserted replaced
1456:7b218ec1044f 1458:e0b2d67cfe7c
1 /**
2 * Compiler information and associated routines.
3 *
4 * Copyright: Copyright Digital Mars 2000 - 2009.
5 * License: <a href="http://www.boost.org/LICENSE_1_0.txt>Boost License 1.0</a>.
6 * Authors: Walter Bright
7 *
8 * Copyright Digital Mars 2000 - 2009.
9 * Distributed under the Boost Software License, Version 1.0.
10 * (See accompanying file LICENSE_1_0.txt or copy at
11 * http://www.boost.org/LICENSE_1_0.txt)
12 */
13 module rt.compiler;
14
15 // Identify the compiler used and its various features.
16
17 const
18 {
19 // Vendor specific string naming the compiler
20 char[] name = "Digital Mars D";
21
22 // Master list of D compiler vendors
23 enum Vendor
24 {
25 DigitalMars = 1
26 }
27
28 // Which vendor we are
29 Vendor vendor = Vendor.DigitalMars;
30
31
32 // The vendor specific version number, as in
33 // version_major.version_minor
34 uint version_major = 0;
35 uint version_minor = 0;
36
37
38 // The version of the D Programming Language Specification
39 // Supported by the compiler
40 uint D_major = 0;
41 uint D_minor = 0;
42 }