mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Const Enums From / to ordinal using casts is back. Add "--use-old-enums", deprecating lookup.
This commit is contained in:
committed by
Christoffer Lerno
parent
4a803ed0cf
commit
13bb2b6690
@@ -63,7 +63,7 @@ enum Foobar : inline char
|
||||
BAZ
|
||||
}
|
||||
|
||||
enum Foobar2 : int (inline char y)
|
||||
enum Foobar2 : const inline int
|
||||
{
|
||||
ABC = 3,
|
||||
DEF = 5,
|
||||
|
||||
Reference in New Issue
Block a user