Remove int tag from ExprLitObject

This commit is contained in:
John J. Camilleri
2021-09-09 20:42:01 +02:00
parent 5eade6f111
commit 8bc171d7a1
3 changed files with 9 additions and 20 deletions

View File

@@ -23,8 +23,7 @@ typedef struct {
typedef struct {
PyObject_HEAD
int type; // 0 = int, 1 = float, 2 = str
PyObject *value; // depends on type
PyObject *value;
} ExprLitObject;
extern PyTypeObject pgf_ExprType;