Update mpc.h

mpc_state_t and mpc_err_t member order changed for better structure data alignment.
This commit is contained in:
Yetkin Öztürk
2014-04-06 18:07:12 +02:00
parent 7a2768d468
commit 17092f3637

4
mpc.h
View File

@@ -22,17 +22,17 @@
*/ */
typedef struct { typedef struct {
char next;
int pos; int pos;
int row; int row;
int col; int col;
char next;
} mpc_state_t; } mpc_state_t;
typedef struct { typedef struct {
mpc_state_t state; mpc_state_t state;
int expected_num;
char *filename; char *filename;
char *failure; char *failure;
int expected_num;
char **expected; char **expected;
} mpc_err_t; } mpc_err_t;