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

Using nd_type_p macro in parse.y #5695

Conversation

S-H-GAMELINKS
Copy link
Contributor

parse.y has code to check node type(using nd_type and define variable) in parse.y.

enum node_type type = nd_type(str_node);
if (type == NODE_STR || type == NODE_DSTR) break;

But, already using nd_type_p macro to more readable(#5091)
I thought better to use nd_type_p macro.

@S-H-GAMELINKS S-H-GAMELINKS force-pushed the using_nd_type_p_macro_in_parsey branch from 41bb253 to 9472d43 Compare April 11, 2022 12:25
@S-H-GAMELINKS S-H-GAMELINKS deleted the using_nd_type_p_macro_in_parsey branch May 31, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant