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

grammar: Rename tmp_*_stmt to tmp_*_op #4837

Merged
merged 4 commits into from
Jan 14, 2025

Conversation

kazarmy
Copy link
Member

@kazarmy kazarmy commented Jan 14, 2025

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've documented or updated the documentation of every function and struct this PR changes. If not so I've explained why.
  • I've added tests that prove my fix is effective or that my feature works (if possible)
  • I've updated the rizin book with the relevant information (if needed)

Detailed description

This pr renames the tmp_*_stmt rules in rizin-shell-parser/grammar.js to tmp_*_op, because they no longer are statements and are just operators due to the removal of their initial _simple_stmt in #4826. The bash command used to do the mass renaming is:

REGEX="\(tmp_[a-z0-9]\+_\)stmt" bash -c 'git grep -l "$REGEX" | xargs -n 1 sed -i "s/$REGEX/\1op/"'

This is a continuation of #4826.

Test plan

All builds are green.

Closing issues

...

@kazarmy kazarmy merged commit 380a94d into rizinorg:dev Jan 14, 2025
46 checks passed
@kazarmy kazarmy mentioned this pull request Jan 15, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants