Store the operator type in the corresponding table entry.
This commit is contained in:
@@ -29,6 +29,12 @@ struct libab_behavior_s {
|
||||
* registered with libabacus.
|
||||
*/
|
||||
struct libab_operator_s {
|
||||
/**
|
||||
* The type of the operator (infix, prefix, postfix).
|
||||
* Corresponds to token types associated with
|
||||
* each operator.
|
||||
*/
|
||||
int type;
|
||||
/**
|
||||
* The precedence of the operator.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user