Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garbage output from ok-verbatim.c test #14

Open
benkasminbullock opened this issue Apr 19, 2017 · 1 comment
Open

Garbage output from ok-verbatim.c test #14

benkasminbullock opened this issue Apr 19, 2017 · 1 comment

Comments

@benkasminbullock
Copy link
Owner

benkasminbullock commented Apr 19, 2017

The output from running cfunctions on tests/ok-verbatim.c is utter nonsense:

/*
This file was generated by the following command:

./cfunctions tests/ok-verbatim.c

*/
#ifndef CFH_OK_VERBATIM_H
#define CFH_OK_VERBATIM_H


#line 16 "tests/ok-verbatim.c"
typedef int fuga;

#if 0
 99
#line 21 "tests/ok-verbatim.c"

#if 0

#endif
int jub;

#endif /* 0 */

An extra #if 0 has been added to the output, and there is also a stray 99 in the output.

@benkasminbullock
Copy link
Owner Author

This is partially fixed and the initialiser marked as fixed in the following two commits.

commit 5a4531c
Author: Ben Bullock benkasminbullock@gmail.com
Date: Fri Apr 28 12:38:35 2017 +0900

Change initialiser from todo test to normal test

commit 947f448
Author: Ben Bullock benkasminbullock@gmail.com
Date: Fri Apr 28 12:37:11 2017 +0900

Remove unused argument; discard initialiser values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant