Removed next char from state and moved it to error

This commit is contained in:
Daniel Holden
2014-04-15 14:37:13 +01:00
parent 28e50a3077
commit efabc31c06
2 changed files with 22 additions and 15 deletions

2
mpc.h
View File

@@ -25,7 +25,6 @@ typedef struct {
int pos;
int row;
int col;
char next;
} mpc_state_t;
typedef struct {
@@ -34,6 +33,7 @@ typedef struct {
char *filename;
char *failure;
char **expected;
char recieved;
} mpc_err_t;
void mpc_err_delete(mpc_err_t *e);