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

feat: add %include #116

Merged
merged 1 commit into from
Apr 20, 2024
Merged

feat: add %include #116

merged 1 commit into from
Apr 20, 2024

Conversation

StoneyJackson
Copy link
Member

@StoneyJackson StoneyJackson commented Apr 20, 2024

  • Add %include, which is a synonym for #include.
  • Deprecate #include, use %include instead.
  • Deprecate include, use %include instead.

In a PLCC grammar file, # starts a comment. So #include looks like a comment, but it's not. To avoid this confusion, we are adding %include and plan to remove #include in the next release.


Related to #99
Related to #115

Thank you for your help! Please read the following before contributing to
this project.

* Add %include, which is a synonym for #include.
* Deprecate #include, use %include instead.
* Deprecate include, use %include instead.

In a PLCC grammar file, `#`` starts a comment. So `#include` looks
like a comment, but it's not. To avoid this confusion, we are
adding `%include` and plan to remove `#include` in the next release.

---

Related to #99
Related to #115
@StoneyJackson StoneyJackson merged commit 21022df into main Apr 20, 2024
4 checks passed
@StoneyJackson StoneyJackson deleted the include branch April 20, 2024 14:59
Copy link

🎉 This PR is included in version 6.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

1 participant