Skip to content

Remove unnecessary semicolon in match rule #19096

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
merged 1 commit into from
Jul 11, 2025

Conversation

ydah
Copy link
Contributor

@ydah ydah commented Jul 11, 2025

match:
    T_MATCH '(' expr ')' '{' match_arm_list '}'
      { $$ = zend_ast_create(ZEND_AST_MATCH, $3, $6); };
      { $$ = zend_ast_create(ZEND_AST_MATCH, $3, $6); };
                                                       ^ unnecessary semicolon
;
^ semicolon is here

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nielsdos nielsdos merged commit 28cd376 into php:master Jul 11, 2025
9 checks passed
@ydah ydah deleted the unnesessary_semicolon branch July 11, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants