#as of 15 Oct 2009, the enumerations are located at lines #400-506, 511-520, 535-566, 568-651, 653-660, #662-1018, 1020-1047, 1049-1051, 1053-1055, 1057-1258 #delete slightly unused MAX_BYTEMODE 508,509d #transform chained defines to enums 400i\ enum\n{ 400,506s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/ 506s/,\$/\n};/ 511i\ enum\n{ 511,520s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/ 520s/,\$/\n};/ 535i\ enum\n{ 535,566s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/ 566s/,\$/\n};/ 568i\ enum\n{ 568,651s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/ 651s/,\$/\n};/ 653i\ enum\n{ 653,660s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/; 660s/,\$/\n};/ 662i\ enum\n{ 662,1018s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/; 1018s/,\$/\n};/ 1020i\ enum\n{ 1020,1047s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/; 1047s/,\$/\n};/ 1049i\ enum\n{ 1049,1051s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/; 1051s/,\$/\n};/ 1053i\ enum\n{ 1053,1055s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/; 1055s/,\$/\n};/ 1057i\ enum\n{ 1057,1258s/#define \([^ \t]*\)[ \t]*\(.*\)/ \1 = \2,/; 1258s/,\$/\n};/ #split longer enums to comply C89 environment limits #split enum on lines 672-1018 into four parts 772s/,\$/\n};\n\nenum\n{/ 872s/,\$/\n};\n\nenum\n{/ 972s/,\$/\n};\n\nenum\n{/ #split enum on lines 1041-1258 into three parts 1142s/,\$/\n};\n\nenum\n{/ 1242s/,\$/\n};\n\nenum\n{/