1 /* 2 * Copyright © 2012 Marcin Kościelnicki <[email protected]> 3 * All Rights Reserved. 4 * SPDX-License-Identifier: MIT 5 */ 6 7 #ifndef COLORS_H 8 #define COLORS_H 9 10 struct envy_colors { 11 const char *reset; 12 const char *iname; /* instruction name */ 13 const char *rname; /* register or bitfield name */ 14 const char *mod; /* instruction modifier */ 15 const char *sym; /* auxiliary char like { , + */ 16 const char *reg; /* ISA register */ 17 const char *regsp; /* special ISA register */ 18 const char *num; /* immediate number */ 19 const char *mem; /* memory reference */ 20 const char *btarg; /* branch target */ 21 const char *ctarg; /* call target */ 22 const char *bctarg; /* branch and call target */ 23 const char *eval; /* enum value */ 24 const char *comm; /* comment */ 25 const char *err; /* error */ 26 }; 27 28 extern const struct envy_colors envy_null_colors; 29 extern const struct envy_colors envy_def_colors; 30 31 #endif 32