comparison trunk/src/dil/IdentsGenerator.d @ 523:d22a33cab0b5

Added some more predefined identifiers.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 16 Dec 2007 19:31:36 +0100
parents 4e14cd1b24da
children 32f55cac5c46
comparison
equal deleted inserted replaced
522:812f497b20dc 523:d22a33cab0b5
10 char[] str; /// Identifier string in code. 10 char[] str; /// Identifier string in code.
11 char[] idStr; /// In table. 11 char[] idStr; /// In table.
12 } 12 }
13 13
14 static const StrPair[] identPairs = [ 14 static const StrPair[] identPairs = [
15 // Predefined version identifiers:
16 {"DigitalMars"}, {"X86"}, {"X86_64"},
17 /*{"Windows"}, */{"Win32"}, {"Win64"},
18 {"linux"}, {"LittleEndian"}, {"BigEndian"},
19 {"D_Coverage"}, {"D_InlineAsm_X86"}, {"D_Version2"},
20 {"none"}, {"all"},
21 // Variadic parameters:
22 {"_arguments"}, {"_argptr"},
15 // scope: 23 // scope:
16 {"exit"}, 24 {"exit"}, {"success"}, {"failure"},
17 {"success"},
18 {"failure"},
19 // pragma: 25 // pragma:
20 {"msg"}, {"lib"}, 26 {"msg"}, {"lib"},
21 // Linkage: 27 // Linkage:
22 {"C"}, {"D"}, {"Windows"}, {"Pascal"}, {"System"}, 28 {"C"}, {"D"}, {"Windows"}, {"Pascal"}, {"System"},
23 // Operator methods: 29 // Operator methods: