]> granicus.if.org Git - re2c/commitdiff
Removed obsolete enum member.
authorUlya Fokanova <skvadrik@gmail.com>
Mon, 17 Feb 2014 13:17:45 +0000 (16:17 +0300)
committerUlya Fokanova <skvadrik@gmail.com>
Mon, 17 Feb 2014 13:17:45 +0000 (16:17 +0300)
'UTF32_16' encoding mode is no longer supported
(since commit 4243cf488ca2c53471831ad5096994ba895d7ff5).

re2c/enc.h

index 8afd92adc24ebc2a504263e05b14e15400534211..cc13f106d139b93401398ae78ac5a0bc0c08e8eb 100644 (file)
@@ -9,12 +9,11 @@ class Enc
 {
        // Supported encodings.
        enum type_t
-               { ASCII    = 0x00000000u
-               , EBCDIC   = 0x00000001u
-               , UTF16    = 0x00000002u
-               , UTF32    = 0x00000004u
-               , UTF32_16 = UTF32 | UTF16 // backward compatibility
-               , UTF8     = 0x00000008u
+               { ASCII  = 0x00000000u
+               , EBCDIC = 0x00000001u
+               , UTF16  = 0x00000002u
+               , UTF32  = 0x00000004u
+               , UTF8   = 0x00000008u
                };
 
        // For re2c, encoding has two properties: