Handle nesting and subtraction in reader
This commit is contained in:
1 parent
79494cd0ba
commit
d4855813a2
3 files changed
+76
-7
No files matched your search
@@ -4,10 +4,10 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef enum {
|
||||
OPERATOR_ADD,
|
||||
OPERATOR_SUBTRACT,
|
||||
OPERATOR_MULTIPLY,
|
||||
OPERATOR_DIVIDE,
|
||||
OPERATOR_ADD = 0,
|
||||
OPERATOR_SUBTRACT = 1,
|
||||
OPERATOR_MULTIPLY = 2,
|
||||
OPERATOR_DIVIDE = 3,
|
||||
} operator_t;
|
||||
|
||||
struct _expression_t;
|
||||
|
||||
Reference in new issue
Block a user