summaryrefslogtreecommitdiffstats
path: root/include/datatype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/datatype.h')
-rw-r--r--include/datatype.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/datatype.h b/include/datatype.h
index a7db1df4..9f127f29 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -176,12 +176,24 @@ struct symbolic_constant {
#define SYMBOL_LIST_END (struct symbolic_constant) { }
/**
+ * enum base - indicate how to display symbol table values
+ *
+ * @BASE_HEXADECIMAL: hexadecimal
+ * @BASE_DECIMAL: decimal
+ */
+enum base {
+ BASE_HEXADECIMAL,
+ BASE_DECIMAL,
+};
+
+/**
* struct symbol_table - type construction from symbolic values
*
+ * @base: base of symbols representation
* @symbols: the symbols
*/
struct symbol_table {
- int gcc_workaround;
+ enum base base;
struct symbolic_constant symbols[];
};