2013-01-10 20:38:17 +00:00
|
|
|
I: enum.qc
|
|
|
|
D: enumerations
|
|
|
|
T: -execute
|
|
|
|
C: -std=fteqcc
|
|
|
|
M: 0
|
|
|
|
M: 1
|
|
|
|
M: 2
|
|
|
|
M: 3
|
2013-01-10 20:50:42 +00:00
|
|
|
M: 4
|
|
|
|
M: 5
|
|
|
|
M: 6
|
|
|
|
M: 7
|
|
|
|
M: 8
|
|
|
|
M: 9
|
|
|
|
M: 10
|
|
|
|
M: 11
|
|
|
|
M: 12
|
|
|
|
M: 13
|
Implemented concept of enumeration attributes (can be further extended, but currently only "flag" is implemented as an attribute). An enumeration with a flag attribute will act as a "flagged enumeration", one that automatically handles exponentiation of the constants defined inside it, i.e enum : flag { A, B, C }, A,B,C will equal 2, 4, 8.
2013-03-08 08:01:45 +00:00
|
|
|
M: 2
|
|
|
|
M: 4
|
|
|
|
M: 8
|
Implemented "reverse" enum attribute, e.g enum : reverse { A, B, C, D } -> A,B,C,D = 3,2,1,0
2013-03-09 05:07:14 +00:00
|
|
|
M: 3
|
|
|
|
M: 2
|
|
|
|
M: 1
|
|
|
|
M: 0
|