comparison trunk/src/dil/Enums.d @ 495:b60450804b6e

Attributes are evaluated during the parsing phase now. Renamed parseDeclarationDefinitionsBlock to parseDeclarationDefinitionsBody. Renamed parseDeclaration to parseVariableOrFunction. Removed class Linkage, renamed parseLinkage to parseLinkageType and modified it so that it returns a value from enum LinkageType. Fix in parseStorageAttribute(): class invariants are recognized now. Modified parseAlignAttribute() so that returns an uint - the alignment size. Removed classes AttributeStatement and ExternStatement. Using Declarations instead in parseAttributeStatement(). Added LinkageType to module Enums. Added StorageClassDeclaration and renamed ExternDeclaration to LinkageDeclaration.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sat, 08 Dec 2007 22:20:34 +0100
parents a7291d3ee9d7
children e76c9fdb83a3
comparison
equal deleted inserted replaced
494:9a7ca8c56e59 495:b60450804b6e
32 Protected = 1<<1, 32 Protected = 1<<1,
33 Package = 1<<2, 33 Package = 1<<2,
34 Public = 1<<3, 34 Public = 1<<3,
35 Export = 1<<4 35 Export = 1<<4
36 } 36 }
37
38 enum LinkageType
39 {
40 None,
41 C,
42 Cpp,
43 D,
44 Windows,
45 Pascal,
46 System
47 }