This commit is contained in:
2026-04-27 00:12:05 +02:00
parent 082353e0b8
commit 9ea4bf6fd9
2 changed files with 22 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef UTILS_H
#define UTILS_H
union element_type
{
int operand;
char operator;
};
enum element_tag {
TOKEN_OPERAND,
TOKEN_OPERATOR
};
struct expression_element {
enum element_tag tag;
union element_type data;
};
#endif /* ! UTILS_H */