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

Add cfg(debug_assertions) to suggested code #147

Merged
merged 1 commit into from Sep 3, 2017

Conversation

Projects
None yet
2 participants
@passcod
Copy link
Contributor

passcod commented Sep 2, 2017

That makes the dummy const _GRAMMAR be present only during development automatically, avoiding cases where one might forget to remove the line, or to simplify contributions / casual hacking, as there's no need to remember to add the line when editing the grammar.

Add cfg(debug_assertions) to suggested code
That makes the dummy `const _GRAMMAR` be present only during development automatically, avoiding cases where one might forget to remove the line, or to simplify contributions / casual hacking, as there's no need to remember to add the line when editing the grammar.

@dragostis dragostis merged commit b5022f6 into pest-parser:master Sep 3, 2017

2 of 3 checks passed

codecov/project 87.22% (-0.06%) compared to 4c98bea
Details
codecov/patch Coverage not affected when comparing 4c98bea...a355fd7
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@passcod passcod deleted the passcod:patch-1 branch Sep 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment