Add a type specifically to operators.

This commit is contained in:
2018-05-16 15:29:14 -07:00
parent 47a57d66ee
commit 325c9b9ef7
3 changed files with 9 additions and 3 deletions

View File

@@ -67,7 +67,11 @@ struct libab_operator_s {
* Corresponds to token types associated with
* each operator.
*/
enum libab_operator_variant_e type;
enum libab_operator_variant_e variant;
/**
* The type of this operator.
*/
libab_ref type;
/**
* The precedence of the operator.
*/