diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-04-29 13:58:18 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-04-29 13:58:18 +0000 |
commit | f1d236b83003eda71e12840732d159fd23b1b771 (patch) | |
tree | 0edad805ea24f7b626d2c6fee9fc50da23acfc47 /test/c | |
parent | 39df8fb19bacb38f317abf06de432b83296dfdd1 (diff) | |
download | compcert-f1d236b83003eda71e12840732d159fd23b1b771.tar.gz compcert-f1d236b83003eda71e12840732d159fd23b1b771.zip |
Integration of Jacques-Henri Jourdan's verified parser.
(Merge of branch newparser.)
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2469 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/c')
-rw-r--r-- | test/c/chomp.c | 6 | ||||
-rw-r--r-- | test/c/vmach.c | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/test/c/chomp.c b/test/c/chomp.c index 042877d9..7c8e6110 100644 --- a/test/c/chomp.c +++ b/test/c/chomp.c @@ -21,8 +21,7 @@ struct _play int nrow,ncol; /* global so as to avoid passing them all over the place */ -int *copy_data(data) /* creates a duplicate of a given -data list */ -int *data; +int *copy_data(int* data) /* creates a duplicate of a given -data list */ { int *new = NDATA; int counter = ncol; @@ -93,8 +92,7 @@ void dump_list(struct _list *list) /* same for a _list structure */ } } -void dump_play(play) /* and for the entire game tree */ -struct _play *play; +void dump_play(struct _play *play) /* and for the entire game tree */ { if (play != NULL) { diff --git a/test/c/vmach.c b/test/c/vmach.c index 15546f86..49c120dd 100644 --- a/test/c/vmach.c +++ b/test/c/vmach.c @@ -52,8 +52,7 @@ enum wordcode_instruct { long stack[STACKSIZE]; -long wordcode_interp(code) - unsigned int * code; +long wordcode_interp(unsigned int* code) { long * sp; unsigned int * pc; |