diff --git a/examples/doge.c b/examples/doge.c index d82a92b..5b15556 100644 --- a/examples/doge.c +++ b/examples/doge.c @@ -44,4 +44,5 @@ int main(int argc, char **argv) { return 0; -} \ No newline at end of file +} + diff --git a/examples/lispy.c b/examples/lispy.c index 7b63244..ae185d4 100644 --- a/examples/lispy.c +++ b/examples/lispy.c @@ -53,4 +53,5 @@ int main(int argc, char **argv) { return 0; -} \ No newline at end of file +} + diff --git a/examples/maths.c b/examples/maths.c index 6179614..18199cc 100644 --- a/examples/maths.c +++ b/examples/maths.c @@ -44,4 +44,5 @@ int main(int argc, char **argv) { return 0; -} \ No newline at end of file +} + diff --git a/examples/smallc.c b/examples/smallc.c index 44b5420..2836051 100644 --- a/examples/smallc.c +++ b/examples/smallc.c @@ -99,4 +99,5 @@ int main(int argc, char **argv) { return 0; -} \ No newline at end of file +} + diff --git a/mpc.h b/mpc.h index f93065b..3e37e72 100644 --- a/mpc.h +++ b/mpc.h @@ -22,17 +22,17 @@ */ typedef struct { - char next; int pos; int row; int col; + char next; } mpc_state_t; typedef struct { mpc_state_t state; + int expected_num; char *filename; char *failure; - int expected_num; char **expected; } mpc_err_t; diff --git a/tests/ptest.h b/tests/ptest.h index 8c436cd..4de173f 100644 --- a/tests/ptest.h +++ b/tests/ptest.h @@ -18,4 +18,5 @@ void pt_add_test(void (*func)(void), const char* name, const char* suite); void pt_add_suite(void (*func)(void)); int pt_run(void); -#endif \ No newline at end of file +#endif + diff --git a/tests/test.c b/tests/test.c index 39015ba..1a2a1da 100644 --- a/tests/test.c +++ b/tests/test.c @@ -9,4 +9,5 @@ int main(int argc, char** argv) { pt_add_suite(suite_regex); pt_add_suite(suite_grammar); return pt_run(); -} \ No newline at end of file +} +