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

reorder const/type and prototype decls #11

Open
gavanderhoorn opened this issue Sep 16, 2016 · 0 comments
Open

reorder const/type and prototype decls #11

gavanderhoorn opened this issue Sep 16, 2016 · 0 comments

Comments

@gavanderhoorn
Copy link
Owner

Plain ktrans does not support mixing constant/type declarations with routine prototypes. All constants/type declarations should come first, then the routine prototypes.

In order to support .klh files including .klts (which would result in mixing the declarations), ktransw should inspect the preprocessor output and reorder constant and prototype declarations so that the expected order is maintained.

@gavanderhoorn gavanderhoorn changed the title add_pp: reorder const/type and prototype decls reorder const/type and prototype decls Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant