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

Feature list grammar #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Feature list grammar #41

wants to merge 2 commits into from

Conversation

SerafimArts
Copy link
Contributor

Second argument of list() grammar method can be optional now. This feature adds the ability to specify duplicate fragments with a division by T_WHITESPACE (e.g "\n", "\s", etc...).

@marcioAlmada
Copy link
Owner

Hi!

I appreciate the pull request. It seems correct, but we need at least one test before merging. A good place to start is https://github.com/marcioAlmada/yay/blob/master/tests/ParserTest.php

👍

@marcioAlmada marcioAlmada force-pushed the master branch 2 times, most recently from a6a81a0 to 277f52c Compare June 26, 2018 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants