Skip to content

Unify the naming scheme of all header defines #952

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

Merged

Conversation

akosthekiss
Copy link
Member

There have been several renamings of header files but the
ifndef/define/endif preprocessor directives did not always follow
the file name changes (or perhaps never followed a unified naming
scheme). This patch gets all headers aligned with the style of the
majority.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu

@akosthekiss akosthekiss added the style Related to coding style label Mar 9, 2016
@LaszloLango
Copy link
Contributor

LGTM

@zherczeg
Copy link
Member

LGTM. How did you find them? Could vera do this automatically?

@akosthekiss
Copy link
Member Author

I was familiarizing myself with the literals and spotted a mismatch in one of the headers. Then I used all the super powers of my midnight commander to sweep through all the headers of the code base :)
(I most definitely don't plan to write tcl code for vera... If that's necessary, I leave that for someone else.)

There have been several renamings of header files but the
ifndef/define/endif preprocessor directives did not always follow
the file name changes (or perhaps never followed a unified naming
scheme). This patch gets all headers aligned with the style of the
majority.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
@akosthekiss akosthekiss force-pushed the unify-header-defines branch from 7df0580 to 7a07e55 Compare March 10, 2016 10:27
@akosthekiss akosthekiss merged commit 7a07e55 into jerryscript-project:master Mar 10, 2016
@akosthekiss akosthekiss deleted the unify-header-defines branch March 10, 2016 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style Related to coding style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants